#9E35AC#9E35AC

#9E35AC is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.197 H 322.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9E35AC
RGBrgb(158, 53, 172)
HSLhsl(293, 53%, 44%)
HSVhsv(293, 69%, 67%)
CMYKcmyk(8.1%, 69.2%, 0%, 32.5%)
CIE-LABlab(42.45, 58.81, -42.80)
CIE-LCHlch(42.45, 72.73, 323.95°)
OKLaboklab(52.94% 0.1571 -0.1193)
OKLCHoklch(52.94% 0.197 322.8)
XYZxyz(22.8193, 12.7952, 40.2895)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E35AC #43AC35
analogous
#6335AC #9E35AC #AC357F
triadic
#9E35AC #AC9E35 #35AC9E
tetradic
#9E35AC #AC6335 #43AC35 #357FAC
square
#9E35AC #AC6335 #43AC35 #357FAC
split-complementary
#9E35AC #7FAC35 #35AC63
monochromatic
#48184E #73277D #9E35AC #BC54CA #CF83D9

Accessibility & contrast

On white

5.90
#9E35AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9E35AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E35AC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E35AC#FFFFFF#000000##FFFFFF
##9E35AC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAF
Deuteranopia (green-blind)
#4768A9
Tritanopia (blue-blind)
#A0496D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e35ac;
/* rgb */ color: rgb(158, 53, 172);
/* oklch */ color: oklch(52.9% 0.197 322.8);
Tailwind
colors: {
  custom: {
    50: '#be75c5',
    500: '#9e35ac',
    950: '#000000',
  },
}
SCSS
$custom: #9e35ac;
$custom-light: #be75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e35ac",
  "rgb": {
    "r": 158,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 292.941,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52943,
    "c": 0.19729,
    "h": 322.8
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#9E35AC
secondary
#83C27B
accent
#DC4C5D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E35AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9E35AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva