Skip to content

#a39bdf

a light, vivid blue · cool · closest name: Medium Purple

RGB
163, 155, 223
HSL
247°, 52%, 74%
CMYK
27, 31, 0, 13
Luminance
0.3656

At a glance

Every number on this page in one read: what #a39bdf is made of, how bright it looks, and which way it leans.

Hex
#a39bdf
Hue
247°
blue
Saturation
52%
vivid
Lightness
74%
light
Brightness
87%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3656
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
8.31:1
Closest name
Medium Purple
ΔE2000 12.9
Where it sits
Hue247° of 360°
Saturation52%
Lightness74%
Temperature
Warm ← → Cool79% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#a39bdf
RGBrgb(163, 155, 223)
HSLhsl(247, 52%, 74%)
CMYKcmyk(27%, 31%, 0%, 13%)
LABlab(66.9 17.6 -33.4)
LCHlch(66.9 37.8 297.8)
OKLCHoklch(0.722 0.098 289.1)
Decimal10722271
Display P3color(display-p3 0.639 0.608 0.875)

Copy-ready code

/* CSS */
color: #a39bdf;
background-color: #a39bdf;
/* Tailwind (arbitrary) */
class="text-[#a39bdf] bg-[#a39bdf]"
/* SCSS */
$brand: #a39bdf;
/* SwiftUI */
Color(red: 0.639, green: 0.608, blue: 0.875)
/* Android */
Color.parseColor("#a39bdf")
/* Flutter */
Color(0xFFA39BDF)
/* Python / OpenCV (BGR) */
(223, 155, 163)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #a39bdf · 8.31:1
Use #000000AAA at every size.
Aa
White text · 2.53:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.31:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a39bdf as text scores 2.53:1 on white and 8.31:1 on black.

Accessibility — WCAG contrast

Aa
#a39bdf on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#a39bdf on black: 8.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #89A4E2
deuteranopia · #89A1DD
tritanopia · #96A7B3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a39bdf is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5F4FA
#EBEAF6
#D2CFED
#a39bdf
#8A80D6
#6355C9
#4A3BB9
#3E319B
#32287C
#27205A
#181438
Base = 300Lightest = 50 · #F5F4FADarkest = 950 · #181438
:root {
  --brand-50: #F5F4FA;
  --brand-100: #EBEAF6;
  --brand-200: #D2CFED;
  --brand-300: #a39bdf;
  --brand-400: #8A80D6;
  --brand-500: #6355C9;
  --brand-600: #4A3BB9;
  --brand-700: #3E319B;
  --brand-800: #32287C;
  --brand-900: #27205A;
  --brand-950: #181438;
  --brand: #a39bdf;
  --brand-ink: #000000;
}

Colors that work with #a39bdf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F5F4FA
Tinted page background
Border#C6C1EB
Hairlines and dividers
Muted text#544B9B
Captions on the surface
Accent#9F902D
Second voice, not a rival
Dark variant#271F61
Hover, pressed, headers
Light variant#EDECF9
Selected rows, tints
Dark surface#161424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #a39bdf

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#D7DF9B
Analogous left#9BB5DF
Analogous right#C59BDF
Split-complement 1#DFC59B
Split-complement 2#B5DF9B
Triadic 1#DFA39B
Triadic 2#9BDFA3
Tetradic#DF9BB5

RGB percentages

Red63.9%
Green60.8%
Blue87.5%

CMYK percentages

Cyan26.9%
Magenta30.5%
Yellow0.0%
Key (black)12.5%

Color previews

#a39bdf text on a black background

contrast 8.31:1

Card sample

#a39bdf text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #a39bdf;
Background color
Panel with #a39bdf background
background-color: #a39bdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #a39bdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(163, 155, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 155, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a39bdf;
background: linear-gradient(135deg, #a39bdf, #D09BDF);

Monochromatic scale

Palettes built from #a39bdf

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#a39bdf in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#a39bdf, answered

What color is #a39bdf?

#a39bdf is a light vivid blue, closest to Medium Purple (ΔE2000 12.9). It sits at 247° on the hue wheel with 52% saturation and 74% lightness, which reads as cool.

What is the RGB value of #a39bdf?

rgb(163, 155, 223) — 163 red, 155 green and 223 blue out of 255, or 63.9% / 60.8% / 87.5% by channel.

Is #a39bdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3656 and perceived brightness is 65%, so black text on it reaches 8.31:1.

Should I use black or white text on #a39bdf?

Black. It scores 8.31:1 against #a39bdf, versus 2.53:1 for white — AAA at any size.

What is the complementary color of #a39bdf?

#D7DF9B sits directly opposite on the wheel. Softer options are the split-complements #DFC59B and #B5DF9B, which give the same contrast with far less vibration.

What colors go well with #a39bdf?

For interface work: #F5F4FA as the surface, #C6C1EB for borders, #544B9B for secondary text, #9F902D as an accent and #271F61 for hover and pressed states. For a palette, the analogous pair #9BB5DF and #C59BDF stays calm, while #D7DF9B is the loudest partner.

What is #a39bdf in CMYK for printing?

cmyk(27%, 31%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #a39bdf warm or cool?

Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BC9BDF; nudged cooler, #9AABE0.

Work with #a39bdf in the Color Lab