#9835AA#9835AA

#9835AA is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.193 H 321.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9835AA
RGBrgb(152, 53, 170)
HSLhsl(291, 52%, 44%)
HSVhsv(291, 69%, 67%)
CMYKcmyk(10.6%, 68.8%, 0%, 33.3%)
CIE-LABlab(41.41, 57.07, -43.33)
CIE-LCHlch(41.41, 71.65, 322.79°)
OKLaboklab(51.98% 0.1501 -0.121)
OKLCHoklch(51.98% 0.193 321.1)
XYZxyz(21.4769, 12.1250, 39.2315)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835AA #47AA35
analogous
#5D35AA #9835AA #AA3581
triadic
#9835AA #AA9835 #35AA98
tetradic
#9835AA #AA5D35 #47AA35 #3581AA
square
#9835AA #AA5D35 #47AA35 #3581AA
split-complementary
#9835AA #81AA35 #35AA5D
monochromatic
#45184D #6E267B #9835AA #B753C9 #CB82D8

Accessibility & contrast

On white

6.13
#9835AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9835AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9835AA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9835AA#FFFFFF#000000##FFFFFF
##9835AA1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5BAD
Deuteranopia (green-blind)
#4265A7
Tritanopia (blue-blind)
#994A6B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9835aa;
/* rgb */ color: rgb(152, 53, 170);
/* oklch */ color: oklch(52.0% 0.193 321.1);
Tailwind
colors: {
  custom: {
    50: '#ba75c4',
    500: '#9835aa',
    950: '#000000',
  },
}
SCSS
$custom: #9835aa;
$custom-light: #ba75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9835aa",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 290.769,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.19279,
    "h": 321.1
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

primary
#9835AA
secondary
#85C17A
accent
#DC4C62
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9835AA

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

Preview Lab → · Contrast checker → · Palette generator →

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