#9839AE#9839AE

#9839AE is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.6% C 0.191 H 319.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9839AE
RGBrgb(152, 57, 174)
HSLhsl(289, 51%, 45%)
HSVhsv(289, 67%, 68%)
CMYKcmyk(12.6%, 67.2%, 0%, 31.8%)
CIE-LABlab(42.24, 56.18, -44.37)
CIE-LCHlch(42.24, 71.59, 321.70°)
OKLaboklab(52.65% 0.1455 -0.1241)
OKLCHoklch(52.65% 0.191 319.5)
XYZxyz(22.0510, 12.6587, 41.3180)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9839AE #4FAE39
analogous
#5E39AE #9839AE #AE3989
triadic
#9839AE #AE9839 #39AE98
tetradic
#9839AE #AE5E39 #4FAE39 #3989AE
square
#9839AE #AE5E39 #4FAE39 #3989AE
split-complementary
#9839AE #89AE39 #39AE5E
monochromatic
#471B52 #702A80 #9839AE #B55BC9 #C989D8

Accessibility & contrast

On white

5.95
#9839AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9839AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9839AE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9839AE#FFFFFF#000000##FFFFFF
##9839AE1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5DB1
Deuteranopia (green-blind)
#4267AB
Tritanopia (blue-blind)
#984E6F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9839ae;
/* rgb */ color: rgb(152, 57, 174);
/* oklch */ color: oklch(52.6% 0.191 319.5);
Tailwind
colors: {
  custom: {
    50: '#ba77c7',
    500: '#9839ae',
    950: '#000000',
  },
}
SCSS
$custom: #9839ae;
$custom-light: #ba77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9839ae",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 288.718,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.19127,
    "h": 319.5
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

primary
#9839AE
secondary
#8DC380
accent
#DA4E68
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9839AE

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

Preview Lab → · Contrast checker → · Palette generator →

#9839AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva