#9836C1#9836C1

#9836C1 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.213 H 313.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9836C1
RGBrgb(152, 54, 193)
HSLhsl(282, 56%, 48%)
HSVhsv(282, 72%, 76%)
CMYKcmyk(21.2%, 72%, 0%, 24.3%)
CIE-LABlab(43.01, 61.20, -54.31)
CIE-LCHlch(43.01, 81.82, 318.41°)
OKLaboklab(53.58% 0.1473 -0.1532)
OKLCHoklch(53.58% 0.213 313.9)
XYZxyz(23.8921, 13.1648, 51.7242)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836C1 #5FC136
analogous
#5236C1 #9836C1 #C136A4
triadic
#9836C1 #C19836 #36C198
tetradic
#9836C1 #C15236 #5FC136 #36A4C1
square
#9836C1 #C15236 #5FC136 #36A4C1
split-complementary
#9836C1 #A4C136 #36C152
monochromatic
#4D1B61 #722991 #9836C1 #B161D3 #C991E0

Accessibility & contrast

On white

5.78
#9836C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9836C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836C1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836C1#FFFFFF#000000##FFFFFF
##9836C11.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#2C68BE
Tritanopia (blue-blind)
#945478
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9836c1;
/* rgb */ color: rgb(152, 54, 193);
/* oklch */ color: oklch(53.6% 0.213 313.9);
Tailwind
colors: {
  custom: {
    50: '#bb76d4',
    500: '#9836c1',
    950: '#000000',
  },
}
SCSS
$custom: #9836c1;
$custom-light: #bb76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9836c1",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 282.302,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53581,
    "c": 0.21251,
    "h": 313.9
  },
  "luminance": 0.13164
}

Semantic roles & 50–950 ramp

primary
#9836C1
secondary
#9CCB88
accent
#E04875
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9836C1

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

Preview Lab → · Contrast checker → · Palette generator →

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