#9E2DB6#9E2DB6

#9E2DB6 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.215 H 319.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9E2DB6
RGBrgb(158, 45, 182)
HSLhsl(289, 60%, 45%)
HSVhsv(289, 75%, 71%)
CMYKcmyk(13.2%, 75.3%, 0%, 28.6%)
CIE-LABlab(42.04, 63.57, -49.38)
CIE-LCHlch(42.04, 80.50, 322.16°)
OKLaboklab(52.84% 0.1643 -0.1385)
OKLCHoklch(52.84% 0.215 319.9)
XYZxyz(23.4814, 12.5245, 45.4275)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DB6 #45B62D
analogous
#5A2DB6 #9E2DB6 #B62D8A
triadic
#9E2DB6 #B69E2D #2DB69E
tetradic
#9E2DB6 #B65A2D #45B62D #2D8AB6
square
#9E2DB6 #B65A2D #45B62D #2D8AB6
split-complementary
#9E2DB6 #8AB62D #2DB65A
monochromatic
#491554 #732185 #9E2DB6 #BC4DD3 #CE7EDF

Accessibility & contrast

On white

5.99
#9E2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9E2DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DB6
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DB6#FFFFFF#000000##FFFFFF
##9E2DB61.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#3967B3
Tritanopia (blue-blind)
#9E4970
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e2db6;
/* rgb */ color: rgb(158, 45, 182);
/* oklch */ color: oklch(52.8% 0.215 319.9);
Tailwind
colors: {
  custom: {
    50: '#bf72cc',
    500: '#9e2db6',
    950: '#000000',
  },
}
SCSS
$custom: #9e2db6;
$custom-light: #bf72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2db6",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 289.489,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.21491,
    "h": 319.9
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

primary
#9E2DB6
secondary
#85C877
accent
#E34460
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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