#9E2DC2#9E2DC2

#9E2DC2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.225 H 316.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9E2DC2
RGBrgb(158, 45, 194)
HSLhsl(286, 62%, 47%)
HSVhsv(286, 77%, 76%)
CMYKcmyk(18.6%, 76.8%, 0%, 23.9%)
CIE-LABlab(42.83, 65.83, -55.15)
CIE-LCHlch(42.83, 85.88, 320.05°)
OKLaboklab(53.65% 0.1628 -0.1554)
OKLCHoklch(53.65% 0.225 316.3)
XYZxyz(24.7750, 13.0419, 52.2408)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DC2 #51C22D
analogous
#532DC2 #9E2DC2 #C22D9C
triadic
#9E2DC2 #C29E2D #2DC29E
tetradic
#9E2DC2 #C2532D #51C22D #2D9CC2
square
#9E2DC2 #C2532D #51C22D #2D9CC2
split-complementary
#9E2DC2 #9CC22D #2DC253
monochromatic
#4D165F #762190 #9E2DC2 #B855D7 #CD86E3

Accessibility & contrast

On white

5.82
#9E2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9E2DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DC2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DC2#FFFFFF#000000##FFFFFF
##9E2DC21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2C68BF
Tritanopia (blue-blind)
#9C4F77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2dc2;
/* rgb */ color: rgb(158, 45, 194);
/* oklch */ color: oklch(53.7% 0.225 316.3);
Tailwind
colors: {
  custom: {
    50: '#bf73d5',
    500: '#9e2dc2',
    950: '#000000',
  },
}
SCSS
$custom: #9e2dc2;
$custom-light: #bf73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2dc2",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 285.503,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53652,
    "c": 0.22509,
    "h": 316.3
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#9E2DC2
secondary
#91CD7E
accent
#E5426A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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