#9E35BB#9E35BB

#9E35BB is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.210 H 318.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9E35BB
RGBrgb(158, 53, 187)
HSLhsl(287, 56%, 47%)
HSVhsv(287, 72%, 73%)
CMYKcmyk(15.5%, 71.7%, 0%, 26.7%)
CIE-LABlab(43.37, 61.64, -50.19)
CIE-LCHlch(43.37, 79.48, 320.85°)
OKLaboklab(53.89% 0.1563 -0.1409)
OKLCHoklch(53.89% 0.21 318)
XYZxyz(24.3420, 13.4042, 48.3091)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E35BB #52BB35
analogous
#5B35BB #9E35BB #BB3595
triadic
#9E35BB #BB9E35 #35BB9E
tetradic
#9E35BB #BB5B35 #52BB35 #3595BB
square
#9E35BB #BB5B35 #52BB35 #3595BB
split-complementary
#9E35BB #95BB35 #35BB5B
monochromatic
#4D1A5C #76278B #9E35BB #B85CD1 #CD8CDE

Accessibility & contrast

On white

5.71
#9E35BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9E35BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E35BB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E35BB#FFFFFF#000000##FFFFFF
##9E35BB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#9D5075
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e35bb;
/* rgb */ color: rgb(158, 53, 187);
/* oklch */ color: oklch(53.9% 0.210 318.0);
Tailwind
colors: {
  custom: {
    50: '#bf76d0',
    500: '#9e35bb',
    950: '#000000',
  },
}
SCSS
$custom: #9e35bb;
$custom-light: #bf76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e35bb",
  "rgb": {
    "r": 158,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 287.015,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53889,
    "c": 0.21045,
    "h": 318
  },
  "luminance": 0.13403
}

Semantic roles & 50–950 ramp

primary
#9E35BB
secondary
#92C983
accent
#DF4969
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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