#9E1D99#9E1D99

#9E1D99 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.207 H 329.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9E1D99
RGBrgb(158, 29, 153)
HSLhsl(302, 69%, 37%)
HSVhsv(302, 82%, 62%)
CMYKcmyk(0%, 81.6%, 3.2%, 38%)
CIE-LABlab(38.64, 63.32, -37.48)
CIE-LCHlch(38.64, 73.58, 329.38°)
OKLaboklab(49.86% 0.1792 -0.1037)
OKLCHoklch(49.86% 0.207 329.9)
XYZxyz(20.2896, 10.4494, 31.0791)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D99 #1D9E22
analogous
#631D9E #9E1D99 #9E1D58
triadic
#9E1D99 #999E1D #1D999E
tetradic
#9E1D99 #9E631D #1D9E22 #1D589E
square
#9E1D99 #9E631D #1D9E22 #1D589E
split-complementary
#9E1D99 #589E1D #1D9E63
monochromatic
#370A35 #6A1467 #9E1D99 #D226CB #E056DB

Accessibility & contrast

On white

6.80
#9E1D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9E1D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1D99
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D99#FFFFFF#000000##FFFFFF
##9E1D991.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#476196
Tritanopia (blue-blind)
#A4325C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1d99;
/* rgb */ color: rgb(158, 29, 153);
/* oklch */ color: oklch(49.9% 0.207 329.9);
Tailwind
colors: {
  custom: {
    50: '#bf6bb7',
    500: '#9e1d99',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d99;
$custom-light: #bf6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d99",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 302.326,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49863,
    "c": 0.20706,
    "h": 329.9
  },
  "luminance": 0.10448
}

Semantic roles & 50–950 ramp

primary
#9E1D99
secondary
#54C358
accent
#EC433C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1D99

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

Preview Lab → · Contrast checker → · Palette generator →

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