#9E1D9B#9E1D9B

#9E1D9B is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.209 H 329.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9E1D9B
RGBrgb(158, 29, 155)
HSLhsl(301, 69%, 37%)
HSVhsv(301, 82%, 62%)
CMYKcmyk(0%, 81.6%, 1.9%, 38%)
CIE-LABlab(38.75, 63.63, -38.51)
CIE-LCHlch(38.75, 74.38, 328.82°)
OKLaboklab(49.98% 0.1792 -0.1067)
OKLCHoklch(49.98% 0.209 329.2)
XYZxyz(20.4562, 10.5160, 31.9564)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D9B #1D9E20
analogous
#611D9E #9E1D9B #9E1D5B
triadic
#9E1D9B #9B9E1D #1D9B9E
tetradic
#9E1D9B #9E611D #1D9E20 #1D5B9E
square
#9E1D9B #9E611D #1D9E20 #1D5B9E
split-complementary
#9E1D9B #5B9E1D #1D9E61
monochromatic
#370A36 #6A1468 #9E1D9B #D226CE #E056DD

Accessibility & contrast

On white

6.77
#9E1D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E1D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1D9B
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D9B#FFFFFF#000000##FFFFFF
##9E1D9B1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#A4335D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1d9b;
/* rgb */ color: rgb(158, 29, 155);
/* oklch */ color: oklch(50.0% 0.209 329.2);
Tailwind
colors: {
  custom: {
    50: '#bf6bb9',
    500: '#9e1d9b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d9b;
$custom-light: #bf6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d9b",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 155
  },
  "hsl": {
    "h": 301.395,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49983,
    "c": 0.20852,
    "h": 329.2
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#9E1D9B
secondary
#54C356
accent
#EC403C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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