#9836C2#9836C2

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

Color values

HEX#9836C2
RGBrgb(152, 54, 194)
HSLhsl(282, 56%, 49%)
HSVhsv(282, 72%, 76%)
CMYKcmyk(21.6%, 72.2%, 0%, 23.9%)
CIE-LABlab(43.08, 61.40, -54.79)
CIE-LCHlch(43.08, 82.29, 318.26°)
OKLaboklab(53.65% 0.1471 -0.1546)
OKLCHoklch(53.65% 0.213 313.6)
XYZxyz(24.0040, 13.2095, 52.3137)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836C2 #60C236
analogous
#5236C2 #9836C2 #C236A6
triadic
#9836C2 #C29836 #36C298
tetradic
#9836C2 #C25236 #60C236 #36A6C2
square
#9836C2 #C25236 #60C236 #36A6C2
split-complementary
#9836C2 #A6C236 #36C252
monochromatic
#4D1B62 #722992 #9836C2 #B162D3 #C992E1

Accessibility & contrast

On white

5.77
#9836C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9836C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836C2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836C2#FFFFFF#000000##FFFFFF
##9836C21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2B68BF
Tritanopia (blue-blind)
#945479
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9836c2;
/* rgb */ color: rgb(152, 54, 194);
/* oklch */ color: oklch(53.6% 0.213 313.6);
Tailwind
colors: {
  custom: {
    50: '#bb76d5',
    500: '#9836c2',
    950: '#000000',
  },
}
SCSS
$custom: #9836c2;
$custom-light: #bb76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9836c2",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 282,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.21344,
    "h": 313.6
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#9836C2
secondary
#9CCC88
accent
#E04876
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9836C2

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

Preview Lab → · Contrast checker → · Palette generator →

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