#9E2DC1#9E2DC1

#9E2DC1 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.224 H 316.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9E2DC1
RGBrgb(158, 45, 193)
HSLhsl(286, 62%, 47%)
HSVhsv(286, 77%, 76%)
CMYKcmyk(18.1%, 76.7%, 0%, 24.3%)
CIE-LABlab(42.76, 65.64, -54.67)
CIE-LCHlch(42.76, 85.43, 320.21°)
OKLaboklab(53.58% 0.163 -0.154)
OKLCHoklch(53.58% 0.224 316.6)
XYZxyz(24.6631, 12.9972, 51.6513)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DC1 #50C12D
analogous
#542DC1 #9E2DC1 #C12D9A
triadic
#9E2DC1 #C19E2D #2DC19E
tetradic
#9E2DC1 #C1542D #50C12D #2D9AC1
square
#9E2DC1 #C1542D #50C12D #2D9AC1
split-complementary
#9E2DC1 #9AC12D #2DC154
monochromatic
#4D165E #75218F #9E2DC1 #B854D7 #CD86E3

Accessibility & contrast

On white

5.83
#9E2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9E2DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DC1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DC1#FFFFFF#000000##FFFFFF
##9E2DC11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#2D68BE
Tritanopia (blue-blind)
#9C4E76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2dc1;
/* rgb */ color: rgb(158, 45, 193);
/* oklch */ color: oklch(53.6% 0.224 316.6);
Tailwind
colors: {
  custom: {
    50: '#bf73d4',
    500: '#9e2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #9e2dc1;
$custom-light: #bf73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2dc1",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 285.811,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.22424,
    "h": 316.6
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#9E2DC1
secondary
#90CC7E
accent
#E54369
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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