#9839C1#9839C1

#9839C1 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 53.9% C 0.209 H 313.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9839C1
RGBrgb(152, 57, 193)
HSLhsl(282, 54%, 49%)
HSVhsv(282, 70%, 76%)
CMYKcmyk(21.2%, 70.5%, 0%, 24.3%)
CIE-LABlab(43.44, 59.99, -53.62)
CIE-LCHlch(43.44, 80.46, 318.21°)
OKLaboklab(53.89% 0.1442 -0.1512)
OKLCHoklch(53.89% 0.209 313.6)
XYZxyz(24.0360, 13.4527, 51.7722)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9839C1 #62C139
analogous
#5439C1 #9839C1 #C139A6
triadic
#9839C1 #C19839 #39C198
tetradic
#9839C1 #C15439 #62C139 #39A6C1
square
#9839C1 #C15439 #62C139 #39A6C1
split-complementary
#9839C1 #A6C139 #39C154
monochromatic
#4E1D63 #732B92 #9839C1 #B166D2 #C995E0

Accessibility & contrast

On white

5.69
#9839C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9839C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9839C1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9839C1#FFFFFF#000000##FFFFFF
##9839C11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#2F69BE
Tritanopia (blue-blind)
#945679
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9839c1;
/* rgb */ color: rgb(152, 57, 193);
/* oklch */ color: oklch(53.9% 0.209 313.6);
Tailwind
colors: {
  custom: {
    50: '#ba78d4',
    500: '#9839c1',
    950: '#000000',
  },
}
SCSS
$custom: #9839c1;
$custom-light: #ba78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9839c1",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 281.912,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53885,
    "c": 0.20898,
    "h": 313.6
  },
  "luminance": 0.13452
}

Semantic roles & 50–950 ramp

primary
#9839C1
secondary
#9ECB8B
accent
#DE4A77
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9839C1

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

Preview Lab → · Contrast checker → · Palette generator →

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