#9E1D8F#9E1D8F

#9E1D8F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.3% C 0.200 H 333.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9E1D8F
RGBrgb(158, 29, 143)
HSLhsl(307, 69%, 37%)
HSVhsv(307, 82%, 62%)
CMYKcmyk(0%, 81.6%, 9.5%, 38%)
CIE-LABlab(38.08, 61.78, -32.27)
CIE-LCHlch(38.08, 69.70, 332.42°)
OKLaboklab(49.29% 0.1792 -0.0886)
OKLCHoklch(49.29% 0.2 333.7)
XYZxyz(19.4980, 10.1327, 26.9102)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D8F #1D9E2C
analogous
#6D1D9E #9E1D8F #9E1D4F
triadic
#9E1D8F #8F9E1D #1D8F9E
tetradic
#9E1D8F #9E6D1D #1D9E2C #1D4F9E
square
#9E1D8F #9E6D1D #1D9E2C #1D4F9E
split-complementary
#9E1D8F #4F9E1D #1D9E6D
monochromatic
#370A31 #6A1460 #9E1D8F #D226BE #E056D0

Accessibility & contrast

On white

6.94
#9E1D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E1D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1D8F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D8F#FFFFFF#000000##FFFFFF
##9E1D8F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#A62C56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1d8f;
/* rgb */ color: rgb(158, 29, 143);
/* oklch */ color: oklch(49.3% 0.200 333.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ab0',
    500: '#9e1d8f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d8f;
$custom-light: #bf6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d8f",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 306.977,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49286,
    "c": 0.19991,
    "h": 333.7
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#9E1D8F
secondary
#54C361
accent
#EC503C
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E1D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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