#9E1D97#9E1D97

#9E1D97 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.206 H 330.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9E1D97
RGBrgb(158, 29, 151)
HSLhsl(303, 69%, 37%)
HSVhsv(303, 82%, 62%)
CMYKcmyk(0%, 81.6%, 4.4%, 38%)
CIE-LABlab(38.52, 63.01, -36.45)
CIE-LCHlch(38.52, 72.79, 329.95°)
OKLaboklab(49.75% 0.1793 -0.1007)
OKLCHoklch(49.75% 0.206 330.7)
XYZxyz(20.1258, 10.3839, 30.2165)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D97 #1D9E24
analogous
#651D9E #9E1D97 #9E1D57
triadic
#9E1D97 #979E1D #1D979E
tetradic
#9E1D97 #9E651D #1D9E24 #1D579E
square
#9E1D97 #9E651D #1D9E24 #1D579E
split-complementary
#9E1D97 #579E1D #1D9E65
monochromatic
#370A34 #6A1466 #9E1D97 #D226C8 #E056D8

Accessibility & contrast

On white

6.83
#9E1D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E1D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1D97
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D97#FFFFFF#000000##FFFFFF
##9E1D971.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05509A
Deuteranopia (green-blind)
#486194
Tritanopia (blue-blind)
#A4315B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1d97;
/* rgb */ color: rgb(158, 29, 151);
/* oklch */ color: oklch(49.7% 0.206 330.7);
Tailwind
colors: {
  custom: {
    50: '#bf6bb6',
    500: '#9e1d97',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d97;
$custom-light: #bf6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d97",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 303.256,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49745,
    "c": 0.20561,
    "h": 330.7
  },
  "luminance": 0.10382
}

Semantic roles & 50–950 ramp

primary
#9E1D97
secondary
#54C35A
accent
#EC463C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1D97

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

Preview Lab → · Contrast checker → · Palette generator →

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