#9E2DBD#9E2DBD

#9E2DBD is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.221 H 317.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9E2DBD
RGBrgb(158, 45, 189)
HSLhsl(287, 62%, 46%)
HSVhsv(287, 76%, 74%)
CMYKcmyk(16.4%, 76.2%, 0%, 25.9%)
CIE-LABlab(42.49, 64.88, -52.76)
CIE-LCHlch(42.49, 83.63, 320.88°)
OKLaboklab(53.31% 0.1635 -0.1484)
OKLCHoklch(53.31% 0.221 317.8)
XYZxyz(24.2229, 12.8211, 49.3330)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DBD #4CBD2D
analogous
#562DBD #9E2DBD #BD2D94
triadic
#9E2DBD #BD9E2D #2DBD9E
tetradic
#9E2DBD #BD562D #4CBD2D #2D94BD
square
#9E2DBD #BD562D #4CBD2D #2D94BD
split-complementary
#9E2DBD #94BD2D #2DBD56
monochromatic
#4B155A #75218C #9E2DBD #B952D6 #CD83E1

Accessibility & contrast

On white

5.89
#9E2DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9E2DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DBD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DBD#FFFFFF#000000##FFFFFF
##9E2DBD1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#9D4C74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2dbd;
/* rgb */ color: rgb(158, 45, 189);
/* oklch */ color: oklch(53.3% 0.221 317.8);
Tailwind
colors: {
  custom: {
    50: '#bf72d2',
    500: '#9e2dbd',
    950: '#000000',
  },
}
SCSS
$custom: #9e2dbd;
$custom-light: #bf72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2dbd",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 189
  },
  "hsl": {
    "h": 287.083,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.22083,
    "h": 317.8
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#9E2DBD
secondary
#8CCB7B
accent
#E54366
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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