#9835AE#9835AE

#9835AE is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.196 H 319.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9835AE
RGBrgb(152, 53, 174)
HSLhsl(289, 53%, 45%)
HSVhsv(289, 70%, 68%)
CMYKcmyk(12.6%, 69.5%, 0%, 31.8%)
CIE-LABlab(41.66, 57.83, -45.32)
CIE-LCHlch(41.66, 73.47, 321.92°)
OKLaboklab(52.23% 0.1499 -0.1269)
OKLCHoklch(52.23% 0.196 319.8)
XYZxyz(21.8610, 12.2787, 41.2547)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9835AE #4BAE35
analogous
#5C35AE #9835AE #AE3588
triadic
#9835AE #AE9835 #35AE98
tetradic
#9835AE #AE5C35 #4BAE35 #3588AE
square
#9835AE #AE5C35 #4BAE35 #3588AE
split-complementary
#9835AE #88AE35 #35AE5C
monochromatic
#461850 #6F277F #9835AE #B655CB #CA84DA

Accessibility & contrast

On white

6.08
#9835AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9835AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9835AE#FFFFFF#000000##FFFFFF
##9835AE1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#3F66AB
Tritanopia (blue-blind)
#984B6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9835ae;
/* rgb */ color: rgb(152, 53, 174);
/* oklch */ color: oklch(52.2% 0.196 319.8);
Tailwind
colors: {
  custom: {
    50: '#ba75c7',
    500: '#9835ae',
    950: '#000000',
  },
}
SCSS
$custom: #9835ae;
$custom-light: #ba75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9835ae",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 289.091,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.19637,
    "h": 319.8
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#9835AE
secondary
#89C37C
accent
#DD4B66
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9835AE

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

Preview Lab → · Contrast checker → · Palette generator →

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