#9E33B2#9E33B2

#9E33B2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.1% C 0.205 H 320.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9E33B2
RGBrgb(158, 51, 178)
HSLhsl(291, 55%, 45%)
HSVhsv(291, 71%, 70%)
CMYKcmyk(11.2%, 71.3%, 0%, 30.2%)
CIE-LABlab(42.54, 60.69, -46.22)
CIE-LCHlch(42.54, 76.28, 322.71°)
OKLaboklab(53.12% 0.1589 -0.1293)
OKLCHoklch(53.12% 0.205 320.9)
XYZxyz(23.3193, 12.8523, 43.3633)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E33B2 #47B233
analogous
#5E33B2 #9E33B2 #B23387
triadic
#9E33B2 #B29E33 #33B29E
tetradic
#9E33B2 #B25E33 #47B233 #3387B2
square
#9E33B2 #B25E33 #47B233 #3387B2
split-complementary
#9E33B2 #87B233 #33B25E
monochromatic
#4A1853 #742582 #9E33B2 #BB54CE #CE84DC

Accessibility & contrast

On white

5.88
#9E33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9E33B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E33B2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E33B2#FFFFFF#000000##FFFFFF
##9E33B21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4168AF
Tritanopia (blue-blind)
#9F4B6F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e33b2;
/* rgb */ color: rgb(158, 51, 178);
/* oklch */ color: oklch(53.1% 0.205 320.9);
Tailwind
colors: {
  custom: {
    50: '#be75ca',
    500: '#9e33b2',
    950: '#000000',
  },
}
SCSS
$custom: #9e33b2;
$custom-light: #be75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e33b2",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 290.551,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53121,
    "c": 0.20488,
    "h": 320.9
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#9E33B2
secondary
#87C57C
accent
#DF4961
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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