#9839C0#9839C0

#9839C0 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.208 H 313.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9839C0
RGBrgb(152, 57, 192)
HSLhsl(282, 54%, 49%)
HSVhsv(282, 70%, 75%)
CMYKcmyk(20.8%, 70.3%, 0%, 24.7%)
CIE-LABlab(43.37, 59.79, -53.15)
CIE-LCHlch(43.37, 79.99, 318.36°)
OKLaboklab(53.82% 0.1443 -0.1498)
OKLCHoklch(53.82% 0.208 313.9)
XYZxyz(23.9248, 13.4082, 51.1867)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9839C0 #61C039
analogous
#5539C0 #9839C0 #C039A5
triadic
#9839C0 #C09839 #39C098
tetradic
#9839C0 #C05539 #61C039 #39A5C0
square
#9839C0 #C05539 #61C039 #39A5C0
split-complementary
#9839C0 #A5C039 #39C055
monochromatic
#4D1D62 #732B91 #9839C0 #B165D1 #C994DF

Accessibility & contrast

On white

5.70
#9839C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9839C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9839C0
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9839C0#FFFFFF#000000##FFFFFF
##9839C01.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#3169BD
Tritanopia (blue-blind)
#945579
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9839c0;
/* rgb */ color: rgb(152, 57, 192);
/* oklch */ color: oklch(53.8% 0.208 313.9);
Tailwind
colors: {
  custom: {
    50: '#ba77d4',
    500: '#9839c0',
    950: '#000000',
  },
}
SCSS
$custom: #9839c0;
$custom-light: #ba77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9839c0",
  "rgb": {
    "r": 152,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 282.222,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53817,
    "c": 0.20804,
    "h": 313.9
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#9839C0
secondary
#9DCB8A
accent
#DE4A76
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9839C0

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

Preview Lab → · Contrast checker → · Palette generator →

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