#9E33A2#9E33A2

#9E33A2 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.191 H 326.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9E33A2
RGBrgb(158, 51, 162)
HSLhsl(298, 52%, 42%)
HSVhsv(298, 69%, 64%)
CMYKcmyk(2.5%, 68.5%, 0%, 36.5%)
CIE-LABlab(41.61, 57.79, -38.19)
CIE-LCHlch(41.61, 69.27, 326.54°)
OKLaboklab(52.15% 0.1593 -0.1059)
OKLCHoklch(52.15% 0.191 326.4)
XYZxyz(21.8056, 12.2468, 35.3908)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E33A2 #37A233
analogous
#6733A2 #9E33A2 #A2336F
triadic
#9E33A2 #A29E33 #33A29E
tetradic
#9E33A2 #A26733 #37A233 #336FA2
square
#9E33A2 #A26733 #37A233 #336FA2
split-complementary
#9E33A2 #6FA233 #33A267
monochromatic
#431645 #712473 #9E33A2 #C24CC7 #D27AD5

Accessibility & contrast

On white

6.09
#9E33A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9E33A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E33A2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E33A2#FFFFFF#000000##FFFFFF
##9E33A21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#A24467
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e33a2;
/* rgb */ color: rgb(158, 51, 162);
/* oklch */ color: oklch(52.2% 0.191 326.4);
Tailwind
colors: {
  custom: {
    50: '#be74be',
    500: '#9e33a2',
    950: '#000000',
  },
}
SCSS
$custom: #9e33a2;
$custom-light: #be74be;
$custom-dark: #000000;
JSON
{
  "hex": "#9e33a2",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 297.838,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52151,
    "c": 0.19126,
    "h": 326.4
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#9E33A2
secondary
#76BE73
accent
#DC4C51
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9E33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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