#9835AC#9835AC

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

Color values

HEX#9835AC
RGBrgb(152, 53, 172)
HSLhsl(290, 53%, 44%)
HSVhsv(290, 69%, 67%)
CMYKcmyk(11.6%, 69.2%, 0%, 32.5%)
CIE-LABlab(41.53, 57.45, -44.32)
CIE-LCHlch(41.53, 72.56, 322.35°)
OKLaboklab(52.1% 0.15 -0.124)
OKLCHoklch(52.1% 0.195 320.4)
XYZxyz(21.6675, 12.2013, 40.2355)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835AC #49AC35
analogous
#5D35AC #9835AC #AC3585
triadic
#9835AC #AC9835 #35AC98
tetradic
#9835AC #AC5D35 #49AC35 #3585AC
square
#9835AC #AC5D35 #49AC35 #3585AC
split-complementary
#9835AC #85AC35 #35AC5D
monochromatic
#45184E #6F277D #9835AC #B654CA #CA83D9

Accessibility & contrast

On white

6.10
#9835AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9835AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9835AC#FFFFFF#000000##FFFFFF
##9835AC1.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)
#035BAF
Deuteranopia (green-blind)
#4065A9
Tritanopia (blue-blind)
#994A6D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9835ac;
/* rgb */ color: rgb(152, 53, 172);
/* oklch */ color: oklch(52.1% 0.195 320.4);
Tailwind
colors: {
  custom: {
    50: '#ba75c5',
    500: '#9835ac',
    950: '#000000',
  },
}
SCSS
$custom: #9835ac;
$custom-light: #ba75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9835ac",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 289.916,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.521,
    "c": 0.19458,
    "h": 320.4
  },
  "luminance": 0.122
}

Semantic roles & 50–950 ramp

primary
#9835AC
secondary
#87C27B
accent
#DC4C64
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9835AC

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

Preview Lab → · Contrast checker → · Palette generator →

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