#9836BF#9836BF

#9836BF is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.4% C 0.211 H 314.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9836BF
RGBrgb(152, 54, 191)
HSLhsl(283, 56%, 48%)
HSVhsv(283, 72%, 75%)
CMYKcmyk(20.4%, 71.7%, 0%, 25.1%)
CIE-LABlab(42.88, 60.79, -53.36)
CIE-LCHlch(42.88, 80.89, 318.73°)
OKLaboklab(53.44% 0.1475 -0.1504)
OKLCHoklch(53.44% 0.211 314.4)
XYZxyz(23.6705, 13.0761, 50.5572)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836BF #5DBF36
analogous
#5436BF #9836BF #BF36A1
triadic
#9836BF #BF9836 #36BF98
tetradic
#9836BF #BF5436 #5DBF36 #36A1BF
square
#9836BF #BF5436 #5DBF36 #36A1BF
split-complementary
#9836BF #A1BF36 #36BF54
monochromatic
#4C1B60 #72298F #9836BF #B260D2 #C990E0

Accessibility & contrast

On white

5.81
#9836BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9836BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836BF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836BF#FFFFFF#000000##FFFFFF
##9836BF1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#945377
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9836bf;
/* rgb */ color: rgb(152, 54, 191);
/* oklch */ color: oklch(53.4% 0.211 314.4);
Tailwind
colors: {
  custom: {
    50: '#ba76d3',
    500: '#9836bf',
    950: '#000000',
  },
}
SCSS
$custom: #9836bf;
$custom-light: #ba76d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9836bf",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 282.92,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.21066,
    "h": 314.4
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#9836BF
secondary
#9ACA87
accent
#DF4973
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9836BF

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

Preview Lab → · Contrast checker → · Palette generator →

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