#9836AA#9836AA

#9836AA is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.192 H 321.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9836AA
RGBrgb(152, 54, 170)
HSLhsl(291, 52%, 44%)
HSVhsv(291, 68%, 67%)
CMYKcmyk(10.6%, 68.2%, 0%, 33.3%)
CIE-LABlab(41.56, 56.66, -43.10)
CIE-LCHlch(41.56, 71.19, 322.74°)
OKLaboklab(52.08% 0.149 -0.1204)
OKLCHoklch(52.08% 0.192 321.1)
XYZxyz(21.5229, 12.2171, 39.2469)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9836AA #48AA36
analogous
#5E36AA #9836AA #AA3682
triadic
#9836AA #AA9836 #36AA98
tetradic
#9836AA #AA5E36 #48AA36 #3682AA
square
#9836AA #AA5E36 #48AA36 #3682AA
split-complementary
#9836AA #82AA36 #36AA5E
monochromatic
#45184D #6E277C #9836AA #B754C9 #CA83D8

Accessibility & contrast

On white

6.10
#9836AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9836AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9836AA#FFFFFF#000000##FFFFFF
##9836AA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5BAD
Deuteranopia (green-blind)
#4366A7
Tritanopia (blue-blind)
#994A6C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9836aa;
/* rgb */ color: rgb(152, 54, 170);
/* oklch */ color: oklch(52.1% 0.192 321.1);
Tailwind
colors: {
  custom: {
    50: '#ba75c4',
    500: '#9836aa',
    950: '#000000',
  },
}
SCSS
$custom: #9836aa;
$custom-light: #ba75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9836aa",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 290.69,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5208,
    "c": 0.19151,
    "h": 321.1
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#9836AA
secondary
#86C17B
accent
#DB4D63
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9836AA

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

Preview Lab → · Contrast checker → · Palette generator →

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