#9836AF#9836AF

#9836AF is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.196 H 319.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9836AF
RGBrgb(152, 54, 175)
HSLhsl(289, 53%, 45%)
HSVhsv(289, 69%, 69%)
CMYKcmyk(13.1%, 69.1%, 0%, 31.4%)
CIE-LABlab(41.86, 57.62, -45.58)
CIE-LCHlch(41.86, 73.47, 321.65°)
OKLaboklab(52.39% 0.1488 -0.1277)
OKLCHoklch(52.39% 0.196 319.4)
XYZxyz(22.0049, 12.4099, 41.7854)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836AF #4DAF36
analogous
#5C36AF #9836AF #AF368A
triadic
#9836AF #AF9836 #36AF98
tetradic
#9836AF #AF5C36 #4DAF36 #368AAF
square
#9836AF #AF5C36 #4DAF36 #368AAF
split-complementary
#9836AF #8AAF36 #36AF5C
monochromatic
#471951 #6F2880 #9836AF #B557CB #CA86DA

Accessibility & contrast

On white

6.03
#9836AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9836AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9836AF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836AF#FFFFFF#000000##FFFFFF
##9836AF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3F66AC
Tritanopia (blue-blind)
#984C6E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9836af;
/* rgb */ color: rgb(152, 54, 175);
/* oklch */ color: oklch(52.4% 0.196 319.4);
Tailwind
colors: {
  custom: {
    50: '#ba75c7',
    500: '#9836af',
    950: '#000000',
  },
}
SCSS
$custom: #9836af;
$custom-light: #ba75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9836af",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 288.595,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52393,
    "c": 0.19603,
    "h": 319.4
  },
  "luminance": 0.12409
}

Semantic roles & 50–950 ramp

primary
#9836AF
secondary
#8BC37D
accent
#DC4C67
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9836AF

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

Preview Lab → · Contrast checker → · Palette generator →

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