#9E32BD#9E32BD

#9E32BD is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.216 H 317.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9E32BD
RGBrgb(158, 50, 189)
HSLhsl(287, 58%, 47%)
HSVhsv(287, 74%, 74%)
CMYKcmyk(16.4%, 73.5%, 0%, 25.9%)
CIE-LABlab(43.10, 63.14, -51.78)
CIE-LCHlch(43.10, 81.66, 320.64°)
OKLaboklab(53.74% 0.159 -0.1456)
OKLCHoklch(53.74% 0.216 317.5)
XYZxyz(24.4251, 13.2255, 49.4004)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E32BD #51BD32
analogous
#5932BD #9E32BD #BD3297
triadic
#9E32BD #BD9E32 #32BD9E
tetradic
#9E32BD #BD5932 #51BD32 #3297BD
square
#9E32BD #BD5932 #51BD32 #3297BD
split-complementary
#9E32BD #97BD32 #32BD59
monochromatic
#4D185C #76258D #9E32BD #B859D3 #CD89E0

Accessibility & contrast

On white

5.76
#9E32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9E32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E32BD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E32BD#FFFFFF#000000##FFFFFF
##9E32BD1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#9D4F75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e32bd;
/* rgb */ color: rgb(158, 50, 189);
/* oklch */ color: oklch(53.7% 0.216 317.5);
Tailwind
colors: {
  custom: {
    50: '#bf75d2',
    500: '#9e32bd',
    950: '#000000',
  },
}
SCSS
$custom: #9e32bd;
$custom-light: #bf75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e32bd",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 286.619,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.21559,
    "h": 317.5
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#9E32BD
secondary
#91CA81
accent
#E14669
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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