#9E33DC#9E33DC

#9E33DC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 56.0% C 0.242 H 309.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9E33DC
RGBrgb(158, 51, 220)
HSLhsl(278, 71%, 53%)
HSVhsv(278, 77%, 86%)
CMYKcmyk(28.2%, 76.8%, 0%, 13.7%)
CIE-LABlab(45.37, 68.98, -66.04)
CIE-LCHlch(45.37, 95.50, 316.25°)
OKLaboklab(56.02% 0.1532 -0.1875)
OKLCHoklch(56.02% 0.242 309.2)
XYZxyz(28.2000, 14.8046, 69.0683)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E33DC #71DC33
analogous
#4933DC #9E33DC #DC33C5
triadic
#9E33DC #DC9E33 #33DC9E
tetradic
#9E33DC #DC4933 #71DC33 #33C5DC
square
#9E33DC #DC4933 #71DC33 #33C5DC
split-complementary
#9E33DC #C5DC33 #33DC49
monochromatic
#58167F #7D1FB3 #9E33DC #B767E5 #D09BEE

Accessibility & contrast

On white

5.30
#9E33DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9E33DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E33DC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E33DC#FFFFFF#000000##FFFFFF
##9E33DC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#955D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e33dc;
/* rgb */ color: rgb(158, 51, 220);
/* oklch */ color: oklch(56.0% 0.242 309.2);
Tailwind
colors: {
  custom: {
    50: '#c076e8',
    500: '#9e33dc',
    950: '#000000',
  },
}
SCSS
$custom: #9e33dc;
$custom-light: #c076e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e33dc",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 220
  },
  "hsl": {
    "h": 277.988,
    "s": 70.711,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56016,
    "c": 0.24208,
    "h": 309.2
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#9E33DC
secondary
#ACDA91
accent
#ED3A7C
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9E33DC

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

Preview Lab → · Contrast checker → · Palette generator →

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