#9836B0#9836B0

#9836B0 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.197 H 319.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9836B0
RGBrgb(152, 54, 176)
HSLhsl(288, 53%, 45%)
HSVhsv(288, 69%, 69%)
CMYKcmyk(13.6%, 69.3%, 0%, 31%)
CIE-LABlab(41.92, 57.81, -46.07)
CIE-LCHlch(41.92, 73.93, 321.45°)
OKLaboklab(52.46% 0.1487 -0.1291)
OKLCHoklch(52.46% 0.197 319)
XYZxyz(22.1035, 12.4494, 42.3046)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836B0 #4EB036
analogous
#5B36B0 #9836B0 #B0368B
triadic
#9836B0 #B09836 #36B098
tetradic
#9836B0 #B05B36 #4EB036 #368BB0
square
#9836B0 #B05B36 #4EB036 #368BB0
split-complementary
#9836B0 #8BB036 #36B05B
monochromatic
#471952 #702881 #9836B0 #B558CC #CA86DA

Accessibility & contrast

On white

6.02
#9836B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9836B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836B0
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836B0#FFFFFF#000000##FFFFFF
##9836B01.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#3E66AD
Tritanopia (blue-blind)
#984D6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9836b0;
/* rgb */ color: rgb(152, 54, 176);
/* oklch */ color: oklch(52.5% 0.197 319.0);
Tailwind
colors: {
  custom: {
    50: '#ba75c8',
    500: '#9836b0',
    950: '#000000',
  },
}
SCSS
$custom: #9836b0;
$custom-light: #ba75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9836b0",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 176
  },
  "hsl": {
    "h": 288.197,
    "s": 53.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.19693,
    "h": 319
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#9836B0
secondary
#8CC47E
accent
#DC4B68
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9836B0

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

Preview Lab → · Contrast checker → · Palette generator →

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