Skip to content

#a39af2

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

RGB
163, 154, 242
HSL
246°, 77%, 78%
CMYK
33, 36, 0, 5
Luminance
0.3731

At a glance

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

Hex
#a39af2
Hue
246°
blue
Saturation
77%
electric
Lightness
78%
light
Brightness
95%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3731
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
8.46:1
Closest name
Medium Purple
ΔE2000 12.2
Where it sits
Hue246° of 360°
Saturation77%
Lightness78%
Temperature
Warm ← → Cool80% 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#a39af2
RGBrgb(163, 154, 242)
HSLhsl(246, 77%, 78%)
CMYKcmyk(33%, 36%, 0%, 5%)
LABlab(67.5 22.9 -43.0)
LCHlch(67.5 48.7 298.1)
OKLCHoklch(0.729 0.126 287.5)
Decimal10722034
Display P3color(display-p3 0.639 0.604 0.949)

Copy-ready code

/* CSS */
color: #a39af2;
background-color: #a39af2;
/* Tailwind (arbitrary) */
class="text-[#a39af2] bg-[#a39af2]"
/* SCSS */
$brand: #a39af2;
/* SwiftUI */
Color(red: 0.639, green: 0.604, blue: 0.949)
/* Android */
Color.parseColor("#a39af2")
/* Flutter */
Color(0xFFA39AF2)
/* Python / OpenCV (BGR) */
(242, 154, 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 #a39af2 · 8.46:1
Use #000000AAA at every size.
Aa
White text · 2.48:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.46:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a39af2 as text scores 2.48:1 on white and 8.46:1 on black.

Accessibility — WCAG contrast

Aa
#a39af2 on white: 2.48:1
AA ✗ fail · AA-large · AAA
Aa
#a39af2 on black: 8.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7FA7F5
deuteranopia · #7EA2F0
tritanopia · #8FAABB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a39af2 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.

#F4F3FC
#E8E6F9
#CCC7F4
#a39af2
#776AEC
#4A38E5
#2F1CD9
#2717B5
#1F1391
#1B1269
#110B41
Base = 300Lightest = 50 · #F4F3FCDarkest = 950 · #110B41
:root {
  --brand-50: #F4F3FC;
  --brand-100: #E8E6F9;
  --brand-200: #CCC7F4;
  --brand-300: #a39af2;
  --brand-400: #776AEC;
  --brand-500: #4A38E5;
  --brand-600: #2F1CD9;
  --brand-700: #2717B5;
  --brand-800: #1F1391;
  --brand-900: #1B1269;
  --brand-950: #110B41;
  --brand: #a39af2;
  --brand-ink: #000000;
}

Colors that work with #a39af2

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#C4C0ED
Hairlines and dividers
Muted text#534B9B
Captions on the surface
Accent#B9A113
Second voice, not a rival
Dark variant#190F71
Hover, pressed, headers
Light variant#EAE8FC
Selected rows, tints
Dark surface#151424
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 #a39af2

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#E9F29A
Analogous left#9ABDF2
Analogous right#CF9AF2
Split-complement 1#F2CF9A
Split-complement 2#BDF29A
Triadic 1#F2A39A
Triadic 2#9AF2A3
Tetradic#F29ABD

RGB percentages

Red63.9%
Green60.4%
Blue94.9%

CMYK percentages

Cyan32.6%
Magenta36.4%
Yellow0.0%
Key (black)5.1%

Color previews

#a39af2 text on a black background

contrast 8.46:1

Card sample

#a39af2 text on a white background

contrast 2.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a39af2

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.

#a39af2 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#a39af2, answered

What color is #a39af2?

#a39af2 is a light electric blue, closest to Medium Purple (ΔE2000 12.2). It sits at 246° on the hue wheel with 77% saturation and 78% lightness, which reads as cool.

What is the RGB value of #a39af2?

rgb(163, 154, 242) — 163 red, 154 green and 242 blue out of 255, or 63.9% / 60.4% / 94.9% by channel.

Is #a39af2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3731 and perceived brightness is 66%, so black text on it reaches 8.46:1.

Should I use black or white text on #a39af2?

Black. It scores 8.46:1 against #a39af2, versus 2.48:1 for white — AAA at any size.

What is the complementary color of #a39af2?

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

What colors go well with #a39af2?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #534B9B for secondary text, #B9A113 as an accent and #190F71 for hover and pressed states. For a palette, the analogous pair #9ABDF2 and #CF9AF2 stays calm, while #E9F29A is the loudest partner.

What is #a39af2 in CMYK for printing?

cmyk(33%, 36%, 0%, 5%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #a39af2 warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C39AF2; nudged cooler, #99B1F3.

Work with #a39af2 in the Color Lab