#9E32CD#9E32CD

#9E32CD is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.230 H 313.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9E32CD
RGBrgb(158, 50, 205)
HSLhsl(282, 61%, 50%)
HSVhsv(282, 76%, 80%)
CMYKcmyk(22.9%, 75.6%, 0%, 19.6%)
CIE-LABlab(44.17, 66.28, -59.36)
CIE-LCHlch(44.17, 88.97, 318.15°)
OKLaboklab(54.84% 0.1568 -0.1678)
OKLCHoklch(54.84% 0.23 313.1)
XYZxyz(26.2586, 13.9589, 59.0569)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E32CD #61CD32
analogous
#5032CD #9E32CD #CD32AF
triadic
#9E32CD #CD9E32 #32CD9E
tetradic
#9E32CD #CD5032 #61CD32 #32AFCD
square
#9E32CD #CD5032 #61CD32 #32AFCD
split-complementary
#9E32CD #AFCD32 #32CD50
monochromatic
#521A6B #78269C #9E32CD #B563D9 #CD94E5

Accessibility & contrast

On white

5.54
#9E32CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9E32CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E32CD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E32CD#FFFFFF#000000##FFFFFF
##9E32CD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#1F6BCA
Tritanopia (blue-blind)
#99567E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e32cd;
/* rgb */ color: rgb(158, 50, 205);
/* oklch */ color: oklch(54.8% 0.230 313.1);
Tailwind
colors: {
  custom: {
    50: '#bf75dd',
    500: '#9e32cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e32cd;
$custom-light: #bf75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e32cd",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 205
  },
  "hsl": {
    "h": 281.806,
    "s": 60.784,
    "l": 50
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.22967,
    "h": 313.1
  },
  "luminance": 0.13958
}

Semantic roles & 50–950 ramp

primary
#9E32CD
secondary
#A0D08B
accent
#E44474
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E32CD

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

Preview Lab → · Contrast checker → · Palette generator →

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