#9E2DC4#9E2DC4

#9E2DC4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.227 H 315.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9E2DC4
RGBrgb(158, 45, 196)
HSLhsl(285, 63%, 47%)
HSVhsv(285, 77%, 77%)
CMYKcmyk(19.4%, 77%, 0%, 23.1%)
CIE-LABlab(42.96, 66.22, -56.09)
CIE-LCHlch(42.96, 86.78, 319.73°)
OKLaboklab(53.79% 0.1625 -0.1582)
OKLCHoklch(53.79% 0.227 315.8)
XYZxyz(25.0012, 13.1324, 53.4317)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DC4 #53C42D
analogous
#532DC4 #9E2DC4 #C42D9E
triadic
#9E2DC4 #C49E2D #2DC49E
tetradic
#9E2DC4 #C4532D #53C42D #2D9EC4
square
#9E2DC4 #C4532D #53C42D #2D9EC4
split-complementary
#9E2DC4 #9EC42D #2DC453
monochromatic
#4E1660 #762292 #9E2DC4 #B756D8 #CD88E4

Accessibility & contrast

On white

5.79
#9E2DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9E2DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DC4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DC4#FFFFFF#000000##FFFFFF
##9E2DC41.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2968C1
Tritanopia (blue-blind)
#9B4F78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e2dc4;
/* rgb */ color: rgb(158, 45, 196);
/* oklch */ color: oklch(53.8% 0.227 315.8);
Tailwind
colors: {
  custom: {
    50: '#bf73d7',
    500: '#9e2dc4',
    950: '#000000',
  },
}
SCSS
$custom: #9e2dc4;
$custom-light: #bf73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2dc4",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 284.901,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.2268,
    "h": 315.8
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#9E2DC4
secondary
#93CD80
accent
#E6426B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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