#9E2DB4#9E2DB4

#9E2DB4 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.213 H 320.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9E2DB4
RGBrgb(158, 45, 180)
HSLhsl(290, 60%, 44%)
HSVhsv(290, 75%, 71%)
CMYKcmyk(12.2%, 75%, 0%, 29.4%)
CIE-LABlab(41.91, 63.20, -48.40)
CIE-LCHlch(41.91, 79.61, 322.55°)
OKLaboklab(52.71% 0.1645 -0.1357)
OKLCHoklch(52.71% 0.213 320.5)
XYZxyz(23.2762, 12.4424, 44.3468)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DB4 #43B42D
analogous
#5B2DB4 #9E2DB4 #B42D87
triadic
#9E2DB4 #B49E2D #2DB49E
tetradic
#9E2DB4 #B45B2D #43B42D #2D87B4
square
#9E2DB4 #B45B2D #43B42D #2D87B4
split-complementary
#9E2DB4 #87B42D #2DB45B
monochromatic
#481552 #732183 #9E2DB4 #BC4CD2 #CF7DDE

Accessibility & contrast

On white

6.02
#9E2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9E2DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DB4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DB4#FFFFFF#000000##FFFFFF
##9E2DB41.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3B67B1
Tritanopia (blue-blind)
#9F486F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e2db4;
/* rgb */ color: rgb(158, 45, 180);
/* oklch */ color: oklch(52.7% 0.213 320.5);
Tailwind
colors: {
  custom: {
    50: '#bf72cb',
    500: '#9e2db4',
    950: '#000000',
  },
}
SCSS
$custom: #9e2db4;
$custom-light: #bf72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2db4",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 290.222,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52713,
    "c": 0.21324,
    "h": 320.5
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#9E2DB4
secondary
#83C776
accent
#E3455E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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