#9836BE#9836BE

#9836BE is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.210 H 314.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9836BE
RGBrgb(152, 54, 190)
HSLhsl(283, 56%, 48%)
HSVhsv(283, 72%, 75%)
CMYKcmyk(20%, 71.6%, 0%, 25.5%)
CIE-LABlab(42.81, 60.59, -52.88)
CIE-LCHlch(42.81, 80.42, 318.89°)
OKLaboklab(53.38% 0.1476 -0.149)
OKLCHoklch(53.38% 0.21 314.7)
XYZxyz(23.5608, 13.0323, 49.9796)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836BE #5CBE36
analogous
#5436BE #9836BE #BE36A0
triadic
#9836BE #BE9836 #36BE98
tetradic
#9836BE #BE5436 #5CBE36 #36A0BE
square
#9836BE #BE5436 #5CBE36 #36A0BE
split-complementary
#9836BE #A0BE36 #36BE54
monochromatic
#4C1B5F #72288E #9836BE #B260D2 #C98FDF

Accessibility & contrast

On white

5.82
#9836BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9836BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836BE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836BE#FFFFFF#000000##FFFFFF
##9836BE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#3068BB
Tritanopia (blue-blind)
#955377
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9836be;
/* rgb */ color: rgb(152, 54, 190);
/* oklch */ color: oklch(53.4% 0.210 314.7);
Tailwind
colors: {
  custom: {
    50: '#ba76d2',
    500: '#9836be',
    950: '#000000',
  },
}
SCSS
$custom: #9836be;
$custom-light: #ba76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9836be",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 283.235,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53376,
    "c": 0.20974,
    "h": 314.7
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#9836BE
secondary
#99CA86
accent
#DF4973
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9836BE

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

Preview Lab → · Contrast checker → · Palette generator →

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