#9836AD#9836AD

#9836AD is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.194 H 320.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9836AD
RGBrgb(152, 54, 173)
HSLhsl(289, 52%, 45%)
HSVhsv(289, 69%, 68%)
CMYKcmyk(12.1%, 68.8%, 0%, 32.2%)
CIE-LABlab(41.74, 57.23, -44.59)
CIE-LCHlch(41.74, 72.55, 322.08°)
OKLaboklab(52.27% 0.1489 -0.1247)
OKLCHoklch(52.27% 0.194 320)
XYZxyz(21.8100, 12.3319, 40.7585)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836AD #4BAD36
analogous
#5D36AD #9836AD #AD3687
triadic
#9836AD #AD9836 #36AD98
tetradic
#9836AD #AD5D36 #4BAD36 #3687AD
square
#9836AD #AD5D36 #4BAD36 #3687AD
split-complementary
#9836AD #87AD36 #36AD5D
monochromatic
#461950 #6F277E #9836AD #B656CA #CA85D9

Accessibility & contrast

On white

6.06
#9836AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9836AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836AD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836AD#FFFFFF#000000##FFFFFF
##9836AD1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035CB0
Deuteranopia (green-blind)
#4066AA
Tritanopia (blue-blind)
#994C6D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9836ad;
/* rgb */ color: rgb(152, 54, 173);
/* oklch */ color: oklch(52.3% 0.194 320.0);
Tailwind
colors: {
  custom: {
    50: '#ba75c6',
    500: '#9836ad',
    950: '#000000',
  },
}
SCSS
$custom: #9836ad;
$custom-light: #ba75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9836ad",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 289.412,
    "s": 52.423,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.19422,
    "h": 320
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#9836AD
secondary
#89C27C
accent
#DC4C65
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9836AD

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

Preview Lab → · Contrast checker → · Palette generator →

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