#9836C6#9836C6

#9836C6 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.217 H 312.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9836C6
RGBrgb(152, 54, 198)
HSLhsl(281, 57%, 49%)
HSVhsv(281, 73%, 78%)
CMYKcmyk(23.2%, 72.7%, 0%, 22.4%)
CIE-LABlab(43.35, 62.22, -56.68)
CIE-LCHlch(43.35, 84.17, 317.67°)
OKLaboklab(53.93% 0.1466 -0.1602)
OKLCHoklch(53.93% 0.217 312.5)
XYZxyz(24.4593, 13.3917, 54.7115)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836C6 #64C636
analogous
#5036C6 #9836C6 #C636AC
triadic
#9836C6 #C69836 #36C698
tetradic
#9836C6 #C65036 #64C636 #36ACC6
square
#9836C6 #C65036 #64C636 #36ACC6
split-complementary
#9836C6 #ACC636 #36C650
monochromatic
#4E1C66 #732996 #9836C6 #B164D5 #C994E2

Accessibility & contrast

On white

5.71
#9836C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9836C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836C6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836C6#FFFFFF#000000##FFFFFF
##9836C61.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#2568C3
Tritanopia (blue-blind)
#93567B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9836c6;
/* rgb */ color: rgb(152, 54, 198);
/* oklch */ color: oklch(53.9% 0.217 312.5);
Tailwind
colors: {
  custom: {
    50: '#bb76d8',
    500: '#9836c6',
    950: '#000000',
  },
}
SCSS
$custom: #9836c6;
$custom-light: #bb76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9836c6",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 280.833,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53927,
    "c": 0.21714,
    "h": 312.5
  },
  "luminance": 0.13391
}

Semantic roles & 50–950 ramp

primary
#9836C6
secondary
#A0CD8B
accent
#E04778
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120915
muted
#817B83

Preview Lab

Preview with #9836C6

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

Preview Lab → · Contrast checker → · Palette generator →

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