#9836AC#9836AC

#9836AC is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.193 H 320.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9836AC
RGBrgb(152, 54, 172)
HSLhsl(290, 52%, 44%)
HSVhsv(290, 69%, 67%)
CMYKcmyk(11.6%, 68.6%, 0%, 32.5%)
CIE-LABlab(41.68, 57.04, -44.09)
CIE-LCHlch(41.68, 72.10, 322.30°)
OKLaboklab(52.2% 0.1489 -0.1233)
OKLCHoklch(52.2% 0.193 320.4)
XYZxyz(21.7136, 12.2934, 40.2508)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836AC #4AAC36
analogous
#5D36AC #9836AC #AC3685
triadic
#9836AC #AC9836 #36AC98
tetradic
#9836AC #AC5D36 #4AAC36 #3685AC
square
#9836AC #AC5D36 #4AAC36 #3685AC
split-complementary
#9836AC #85AC36 #36AC5D
monochromatic
#46194F #6F277D #9836AC #B655CA #CA84D8

Accessibility & contrast

On white

6.07
#9836AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9836AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836AC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836AC#FFFFFF#000000##FFFFFF
##9836AC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075CAF
Deuteranopia (green-blind)
#4166A9
Tritanopia (blue-blind)
#994B6D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9836ac;
/* rgb */ color: rgb(152, 54, 172);
/* oklch */ color: oklch(52.2% 0.193 320.4);
Tailwind
colors: {
  custom: {
    50: '#ba75c5',
    500: '#9836ac',
    950: '#000000',
  },
}
SCSS
$custom: #9836ac;
$custom-light: #ba75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9836ac",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 289.831,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.19332,
    "h": 320.4
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#9836AC
secondary
#88C27C
accent
#DC4C64
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9836AC

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

Preview Lab → · Contrast checker → · Palette generator →

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