#9E33A5#9E33A5

#9E33A5 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.3% C 0.194 H 325.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9E33A5
RGBrgb(158, 51, 165)
HSLhsl(296, 53%, 42%)
HSVhsv(296, 69%, 65%)
CMYKcmyk(4.2%, 69.1%, 0%, 35.3%)
CIE-LABlab(41.77, 58.32, -39.72)
CIE-LCHlch(41.77, 70.56, 325.74°)
OKLaboklab(52.33% 0.1593 -0.1103)
OKLCHoklch(52.33% 0.194 325.3)
XYZxyz(22.0754, 12.3548, 36.8120)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E33A5 #3AA533
analogous
#6533A5 #9E33A5 #A53373
triadic
#9E33A5 #A59E33 #33A59E
tetradic
#9E33A5 #A56533 #3AA533 #3373A5
square
#9E33A5 #A56533 #3AA533 #3373A5
split-complementary
#9E33A5 #73A533 #33A565
monochromatic
#441648 #712576 #9E33A5 #C04DC8 #D17CD6

Accessibility & contrast

On white

6.05
#9E33A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9E33A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E33A5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E33A5#FFFFFF#000000##FFFFFF
##9E33A51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA8
Deuteranopia (green-blind)
#4A67A2
Tritanopia (blue-blind)
#A24568
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e33a5;
/* rgb */ color: rgb(158, 51, 165);
/* oklch */ color: oklch(52.3% 0.194 325.3);
Tailwind
colors: {
  custom: {
    50: '#be74c0',
    500: '#9e33a5',
    950: '#000000',
  },
}
SCSS
$custom: #9e33a5;
$custom-light: #be74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e33a5",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 296.316,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.19378,
    "h": 325.3
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#9E33A5
secondary
#79BF75
accent
#DC4C54
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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