#9836AE#9836AE

#9836AE is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.3% C 0.195 H 319.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9836AE
RGBrgb(152, 54, 174)
HSLhsl(289, 53%, 45%)
HSVhsv(289, 69%, 68%)
CMYKcmyk(12.6%, 69%, 0%, 31.8%)
CIE-LABlab(41.80, 57.43, -45.09)
CIE-LCHlch(41.80, 73.01, 321.86°)
OKLaboklab(52.33% 0.1488 -0.1262)
OKLCHoklch(52.33% 0.195 319.7)
XYZxyz(21.9071, 12.3708, 41.2701)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836AE #4CAE36
analogous
#5C36AE #9836AE #AE3688
triadic
#9836AE #AE9836 #36AE98
tetradic
#9836AE #AE5C36 #4CAE36 #3688AE
square
#9836AE #AE5C36 #4CAE36 #3688AE
split-complementary
#9836AE #88AE36 #36AE5C
monochromatic
#461951 #6F287F #9836AE #B556CB #CA85D9

Accessibility & contrast

On white

6.04
#9836AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9836AE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9836AE#FFFFFF#000000##FFFFFF
##9836AE1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#4066AB
Tritanopia (blue-blind)
#984C6E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9836ae;
/* rgb */ color: rgb(152, 54, 174);
/* oklch */ color: oklch(52.3% 0.195 319.7);
Tailwind
colors: {
  custom: {
    50: '#ba75c7',
    500: '#9836ae',
    950: '#000000',
  },
}
SCSS
$custom: #9836ae;
$custom-light: #ba75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9836ae",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 289,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52329,
    "c": 0.19513,
    "h": 319.7
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

primary
#9836AE
secondary
#8AC37D
accent
#DC4C66
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9836AE

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

Preview Lab → · Contrast checker → · Palette generator →

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