#9E32E1#9E32E1

#9E32E1 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.3% C 0.247 H 308.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9E32E1
RGBrgb(158, 50, 225)
HSLhsl(277, 74%, 54%)
HSVhsv(277, 78%, 88%)
CMYKcmyk(29.8%, 77.8%, 0%, 11.8%)
CIE-LABlab(45.62, 70.36, -68.48)
CIE-LCHlch(45.62, 98.18, 315.77°)
OKLaboklab(56.31% 0.1529 -0.1946)
OKLCHoklch(56.31% 0.247 308.1)
XYZxyz(28.8289, 14.9870, 72.5936)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E32E1 #75E132
analogous
#4732E1 #9E32E1 #E132CC
triadic
#9E32E1 #E19E32 #32E19E
tetradic
#9E32E1 #E14732 #75E132 #32CCE1
square
#9E32E1 #E14732 #75E132 #32CCE1
split-complementary
#9E32E1 #CCE132 #32E147
monochromatic
#5A1385 #7E1BBB #9E32E1 #B767E9 #D19DF1

Accessibility & contrast

On white

5.25
#9E32E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9E32E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E32E1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E32E1#FFFFFF#000000##FFFFFF
##9E32E11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#935F8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e32e1;
/* rgb */ color: rgb(158, 50, 225);
/* oklch */ color: oklch(56.3% 0.247 308.1);
Tailwind
colors: {
  custom: {
    50: '#c176eb',
    500: '#9e32e1',
    950: '#000000',
  },
}
SCSS
$custom: #9e32e1;
$custom-light: #c176eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e32e1",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 225
  },
  "hsl": {
    "h": 277.029,
    "s": 74.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56308,
    "c": 0.24749,
    "h": 308.1
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#9E32E1
secondary
#AFDD92
accent
#F1377E
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9E32E1

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

Preview Lab → · Contrast checker → · Palette generator →

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