#9E33B8#9E33B8

#9E33B8 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.210 H 319.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9E33B8
RGBrgb(158, 51, 184)
HSLhsl(288, 57%, 46%)
HSVhsv(288, 72%, 72%)
CMYKcmyk(14.1%, 72.3%, 0%, 27.8%)
CIE-LABlab(42.91, 61.82, -49.16)
CIE-LCHlch(42.91, 78.98, 321.51°)
OKLaboklab(53.51% 0.1585 -0.1379)
OKLCHoklch(53.51% 0.21 319)
XYZxyz(23.9350, 13.0986, 46.6056)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E33B8 #4DB833
analogous
#5B33B8 #9E33B8 #B8338F
triadic
#9E33B8 #B89E33 #33B89E
tetradic
#9E33B8 #B85B33 #4DB833 #338FB8
square
#9E33B8 #B85B33 #4DB833 #338FB8
split-complementary
#9E33B8 #8FB833 #33B85B
monochromatic
#4C1858 #752688 #9E33B8 #B958D1 #CD88DE

Accessibility & contrast

On white

5.80
#9E33B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9E33B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E33B8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E33B8#FFFFFF#000000##FFFFFF
##9E33B81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#3C69B5
Tritanopia (blue-blind)
#9E4D73
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e33b8;
/* rgb */ color: rgb(158, 51, 184);
/* oklch */ color: oklch(53.5% 0.210 319.0);
Tailwind
colors: {
  custom: {
    50: '#be75ce',
    500: '#9e33b8',
    950: '#000000',
  },
}
SCSS
$custom: #9e33b8;
$custom-light: #be75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9e33b8",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 288.271,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53505,
    "c": 0.2101,
    "h": 319
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#9E33B8
secondary
#8DC87F
accent
#E04866
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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