#A839B7#A839B7

#A839B7 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.4% C 0.206 H 322.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A839B7
RGBrgb(168, 57, 183)
HSLhsl(293, 53%, 47%)
HSVhsv(293, 69%, 72%)
CMYKcmyk(8.2%, 68.9%, 0%, 28.2%)
CIE-LABlab(45.18, 61.52, -44.85)
CIE-LCHlch(45.18, 76.13, 323.91°)
OKLaboklab(55.41% 0.1642 -0.1251)
OKLCHoklch(55.41% 0.206 322.7)
XYZxyz(26.1580, 14.6715, 46.2446)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A839B7 #48B739
analogous
#6939B7 #A839B7 #B73987
triadic
#A839B7 #B7A839 #39B7A8
tetradic
#A839B7 #B76939 #48B739 #3987B7
square
#A839B7 #B76939 #48B739 #3987B7
split-complementary
#A839B7 #87B739 #39B769
monochromatic
#521C5A #7D2A88 #A839B7 #C060CD #D38EDC

Accessibility & contrast

On white

5.34
#A839B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A839B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A839B7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A839B7#FFFFFF#000000##FFFFFF
##A839B71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1163BB
Deuteranopia (green-blind)
#4B6FB4
Tritanopia (blue-blind)
#AA4F74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a839b7;
/* rgb */ color: rgb(168, 57, 183);
/* oklch */ color: oklch(55.4% 0.206 322.7);
Tailwind
colors: {
  custom: {
    50: '#c579cd',
    500: '#a839b7',
    950: '#000000',
  },
}
SCSS
$custom: #a839b7;
$custom-light: #c579cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a839b7",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 292.857,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55413,
    "c": 0.20644,
    "h": 322.7
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#A839B7
secondary
#8DC785
accent
#DC4C5D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A839B7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A839B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva