#9836C4#9836C4

#9836C4 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.215 H 313.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9836C4
RGBrgb(152, 54, 196)
HSLhsl(281, 57%, 49%)
HSVhsv(281, 72%, 77%)
CMYKcmyk(22.4%, 72.4%, 0%, 23.1%)
CIE-LABlab(43.21, 61.81, -55.73)
CIE-LCHlch(43.21, 83.23, 317.96°)
OKLaboklab(53.79% 0.1469 -0.1574)
OKLCHoklch(53.79% 0.215 313)
XYZxyz(24.2301, 13.3000, 53.5046)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836C4 #62C436
analogous
#5136C4 #9836C4 #C436A9
triadic
#9836C4 #C49836 #36C498
tetradic
#9836C4 #C45136 #62C436 #36A9C4
square
#9836C4 #C45136 #62C436 #36A9C4
split-complementary
#9836C4 #A9C436 #36C451
monochromatic
#4E1C64 #732994 #9836C4 #B163D4 #C993E1

Accessibility & contrast

On white

5.74
#9836C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9836C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836C4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836C4#FFFFFF#000000##FFFFFF
##9836C41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#2868C1
Tritanopia (blue-blind)
#93557A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9836c4;
/* rgb */ color: rgb(152, 54, 196);
/* oklch */ color: oklch(53.8% 0.215 313.0);
Tailwind
colors: {
  custom: {
    50: '#bb76d7',
    500: '#9836c4',
    950: '#000000',
  },
}
SCSS
$custom: #9836c4;
$custom-light: #bb76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9836c4",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 281.408,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.21529,
    "h": 313
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#9836C4
secondary
#9ECC89
accent
#E04877
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9836C4

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

Preview Lab → · Contrast checker → · Palette generator →

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