#9E1D93#9E1D93

#9E1D93 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.203 H 332.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9E1D93
RGBrgb(158, 29, 147)
HSLhsl(305, 69%, 37%)
HSVhsv(305, 82%, 62%)
CMYKcmyk(0%, 81.6%, 7%, 38%)
CIE-LABlab(38.30, 62.39, -34.37)
CIE-LCHlch(38.30, 71.23, 331.15°)
OKLaboklab(49.51% 0.1793 -0.0947)
OKLCHoklch(49.51% 0.203 332.2)
XYZxyz(19.8065, 10.2561, 28.5346)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D93 #1D9E28
analogous
#691D9E #9E1D93 #9E1D53
triadic
#9E1D93 #939E1D #1D939E
tetradic
#9E1D93 #9E691D #1D9E28 #1D539E
square
#9E1D93 #9E691D #1D9E28 #1D539E
split-complementary
#9E1D93 #539E1D #1D9E69
monochromatic
#370A33 #6A1463 #9E1D93 #D226C3 #E056D4

Accessibility & contrast

On white

6.88
#9E1D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E1D93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1D93
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D93#FFFFFF#000000##FFFFFF
##9E1D931.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104F96
Deuteranopia (green-blind)
#4B6090
Tritanopia (blue-blind)
#A52E59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1d93;
/* rgb */ color: rgb(158, 29, 147);
/* oklch */ color: oklch(49.5% 0.203 332.2);
Tailwind
colors: {
  custom: {
    50: '#bf6bb3',
    500: '#9e1d93',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d93;
$custom-light: #bf6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d93",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 305.116,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.20273,
    "h": 332.2
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#9E1D93
secondary
#54C35D
accent
#EC4B3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1D93

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

Preview Lab → · Contrast checker → · Palette generator →

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