#9E33AA#9E33AA

#9E33AA is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.198 H 323.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9E33AA
RGBrgb(158, 51, 170)
HSLhsl(294, 54%, 43%)
HSVhsv(294, 70%, 67%)
CMYKcmyk(7.1%, 70%, 0%, 33.3%)
CIE-LABlab(42.06, 59.21, -42.24)
CIE-LCHlch(42.06, 72.74, 324.50°)
OKLaboklab(52.63% 0.1592 -0.1177)
OKLCHoklch(52.63% 0.198 323.5)
XYZxyz(22.5394, 12.5404, 39.2557)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E33AA #3FAA33
analogous
#6333AA #9E33AA #AA337A
triadic
#9E33AA #AA9E33 #33AA9E
tetradic
#9E33AA #AA6333 #3FAA33 #337AAA
square
#9E33AA #AA6333 #3FAA33 #337AAA
split-complementary
#9E33AA #7AAA33 #33AA63
monochromatic
#46174C #72257B #9E33AA #BE50CA #D07FD9

Accessibility & contrast

On white

5.99
#9E33AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9E33AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E33AA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E33AA#FFFFFF#000000##FFFFFF
##9E33AA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5BAD
Deuteranopia (green-blind)
#4768A7
Tritanopia (blue-blind)
#A1476B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e33aa;
/* rgb */ color: rgb(158, 51, 170);
/* oklch */ color: oklch(52.6% 0.198 323.5);
Tailwind
colors: {
  custom: {
    50: '#be74c4',
    500: '#9e33aa',
    950: '#000000',
  },
}
SCSS
$custom: #9e33aa;
$custom-light: #be74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e33aa",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 293.95,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52626,
    "c": 0.19801,
    "h": 323.5
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#9E33AA
secondary
#7FC277
accent
#DD4B59
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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