#9835AD#9835AD

#9835AD is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.195 H 320.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9835AD
RGBrgb(152, 53, 173)
HSLhsl(290, 53%, 44%)
HSVhsv(290, 69%, 68%)
CMYKcmyk(12.1%, 69.4%, 0%, 32.2%)
CIE-LABlab(41.59, 57.64, -44.82)
CIE-LCHlch(41.59, 73.02, 322.13°)
OKLaboklab(52.16% 0.1499 -0.1254)
OKLCHoklch(52.16% 0.195 320.1)
XYZxyz(21.7639, 12.2398, 40.7432)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835AD #4AAD35
analogous
#5C35AD #9835AD #AD3586
triadic
#9835AD #AD9835 #35AD98
tetradic
#9835AD #AD5C35 #4AAD35 #3586AD
square
#9835AD #AD5C35 #4AAD35 #3586AD
split-complementary
#9835AD #86AD35 #35AD5C
monochromatic
#46184F #6F277E #9835AD #B654CB #CA83D9

Accessibility & contrast

On white

6.09
#9835AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9835AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9835AD#FFFFFF#000000##FFFFFF
##9835AD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#4066AA
Tritanopia (blue-blind)
#994B6D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9835ad;
/* rgb */ color: rgb(152, 53, 173);
/* oklch */ color: oklch(52.2% 0.195 320.1);
Tailwind
colors: {
  custom: {
    50: '#ba75c6',
    500: '#9835ad',
    950: '#000000',
  },
}
SCSS
$custom: #9835ad;
$custom-light: #ba75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9835ad",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 289.5,
    "s": 53.097,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52163,
    "c": 0.19547,
    "h": 320.1
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#9835AD
secondary
#88C37B
accent
#DD4B65
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9835AD

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

Preview Lab → · Contrast checker → · Palette generator →

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