#9836BC#9836BC

#9836BC is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.208 H 315.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9836BC
RGBrgb(152, 54, 188)
HSLhsl(284, 55%, 47%)
HSVhsv(284, 71%, 74%)
CMYKcmyk(19.1%, 71.3%, 0%, 26.3%)
CIE-LABlab(42.68, 60.19, -51.92)
CIE-LCHlch(42.68, 79.49, 319.22°)
OKLaboklab(53.24% 0.1478 -0.1462)
OKLCHoklch(53.24% 0.208 315.3)
XYZxyz(23.3437, 12.9454, 48.8363)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836BC #5ABC36
analogous
#5536BC #9836BC #BC369D
triadic
#9836BC #BC9836 #36BC98
tetradic
#9836BC #BC5536 #5ABC36 #369DBC
square
#9836BC #BC5536 #5ABC36 #369DBC
split-complementary
#9836BC #9DBC36 #36BC55
monochromatic
#4B1B5D #72288C #9836BC #B25ED1 #C98EDF

Accessibility & contrast

On white

5.85
#9836BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9836BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836BC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836BC#FFFFFF#000000##FFFFFF
##9836BC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#955276
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9836bc;
/* rgb */ color: rgb(152, 54, 188);
/* oklch */ color: oklch(53.2% 0.208 315.3);
Tailwind
colors: {
  custom: {
    50: '#ba76d1',
    500: '#9836bc',
    950: '#000000',
  },
}
SCSS
$custom: #9836bc;
$custom-light: #ba76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9836bc",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 283.881,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53241,
    "c": 0.2079,
    "h": 315.3
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#9836BC
secondary
#97C985
accent
#DF4971
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9836BC

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

Preview Lab → · Contrast checker → · Palette generator →

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