#9836C5#9836C5

#9836C5 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.216 H 312.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9836C5
RGBrgb(152, 54, 197)
HSLhsl(281, 57%, 49%)
HSVhsv(281, 73%, 77%)
CMYKcmyk(22.8%, 72.6%, 0%, 22.7%)
CIE-LABlab(43.28, 62.02, -56.21)
CIE-LCHlch(43.28, 83.70, 317.81°)
OKLaboklab(53.86% 0.1467 -0.1588)
OKLCHoklch(53.86% 0.216 312.7)
XYZxyz(24.3443, 13.3457, 54.1061)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836C5 #63C536
analogous
#5136C5 #9836C5 #C536AB
triadic
#9836C5 #C59836 #36C598
tetradic
#9836C5 #C55136 #63C536 #36ABC5
square
#9836C5 #C55136 #63C536 #36ABC5
split-complementary
#9836C5 #ABC536 #36C551
monochromatic
#4E1C65 #732995 #9836C5 #B164D4 #C994E2

Accessibility & contrast

On white

5.72
#9836C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9836C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836C5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836C5#FFFFFF#000000##FFFFFF
##9836C51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#2668C2
Tritanopia (blue-blind)
#93567B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9836c5;
/* rgb */ color: rgb(152, 54, 197);
/* oklch */ color: oklch(53.9% 0.216 312.7);
Tailwind
colors: {
  custom: {
    50: '#bb76d7',
    500: '#9836c5',
    950: '#000000',
  },
}
SCSS
$custom: #9836c5;
$custom-light: #bb76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9836c5",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 281.119,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53857,
    "c": 0.21622,
    "h": 312.7
  },
  "luminance": 0.13345
}

Semantic roles & 50–950 ramp

primary
#9836C5
secondary
#9FCD8A
accent
#E04878
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9836C5

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

Preview Lab → · Contrast checker → · Palette generator →

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