#9E35B2#9E35B2

#9E35B2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.203 H 320.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9E35B2
RGBrgb(158, 53, 178)
HSLhsl(290, 54%, 45%)
HSVhsv(290, 70%, 70%)
CMYKcmyk(11.2%, 70.2%, 0%, 30.2%)
CIE-LABlab(42.81, 59.92, -45.78)
CIE-LCHlch(42.81, 75.41, 322.62°)
OKLaboklab(53.31% 0.1569 -0.1281)
OKLCHoklch(53.31% 0.203 320.8)
XYZxyz(23.4086, 13.0309, 43.3930)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E35B2 #49B235
analogous
#5F35B2 #9E35B2 #B23587
triadic
#9E35B2 #B29E35 #35B29E
tetradic
#9E35B2 #B25F35 #49B235 #3587B2
square
#9E35B2 #B25F35 #49B235 #3587B2
split-complementary
#9E35B2 #87B235 #35B25F
monochromatic
#4A1954 #742783 #9E35B2 #BA57CD #CE86DB

Accessibility & contrast

On white

5.82
#9E35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9E35B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E35B2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E35B2#FFFFFF#000000##FFFFFF
##9E35B21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#9F4C70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e35b2;
/* rgb */ color: rgb(158, 53, 178);
/* oklch */ color: oklch(53.3% 0.203 320.8);
Tailwind
colors: {
  custom: {
    50: '#be76ca',
    500: '#9e35b2',
    950: '#000000',
  },
}
SCSS
$custom: #9e35b2;
$custom-light: #be76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e35b2",
  "rgb": {
    "r": 158,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 290.4,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.20251,
    "h": 320.8
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#9E35B2
secondary
#89C57E
accent
#DD4A62
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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