#9E2DB9#9E2DB9

#9E2DB9 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.217 H 319.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9E2DB9
RGBrgb(158, 45, 185)
HSLhsl(288, 61%, 45%)
HSVhsv(288, 76%, 73%)
CMYKcmyk(14.6%, 75.7%, 0%, 27.5%)
CIE-LABlab(42.23, 64.13, -50.84)
CIE-LCHlch(42.23, 81.84, 321.60°)
OKLaboklab(53.04% 0.164 -0.1428)
OKLCHoklch(53.04% 0.217 319)
XYZxyz(23.7947, 12.6498, 47.0778)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DB9 #48B92D
analogous
#582DB9 #9E2DB9 #B92D8E
triadic
#9E2DB9 #B99E2D #2DB99E
tetradic
#9E2DB9 #B9582D #48B92D #2D8EB9
square
#9E2DB9 #B9582D #48B92D #2D8EB9
split-complementary
#9E2DB9 #8EB92D #2DB958
monochromatic
#4A1557 #742188 #9E2DB9 #BB4FD4 #CE80E0

Accessibility & contrast

On white

5.95
#9E2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9E2DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DB9
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DB9#FFFFFF#000000##FFFFFF
##9E2DB91.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#3767B6
Tritanopia (blue-blind)
#9E4A72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2db9;
/* rgb */ color: rgb(158, 45, 185);
/* oklch */ color: oklch(53.0% 0.217 319.0);
Tailwind
colors: {
  custom: {
    50: '#bf72cf',
    500: '#9e2db9',
    950: '#000000',
  },
}
SCSS
$custom: #9e2db9;
$custom-light: #bf72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2db9",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 288.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53042,
    "c": 0.21744,
    "h": 319
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#9E2DB9
secondary
#88C979
accent
#E44463
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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