#9E1D8E#9E1D8E

#9E1D8E is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.199 H 334.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9E1D8E
RGBrgb(158, 29, 142)
HSLhsl(307, 69%, 37%)
HSVhsv(307, 82%, 62%)
CMYKcmyk(0%, 81.6%, 10.1%, 38%)
CIE-LABlab(38.03, 61.63, -31.74)
CIE-LCHlch(38.03, 69.33, 332.75°)
OKLaboklab(49.23% 0.1792 -0.0871)
OKLCHoklch(49.23% 0.199 334.1)
XYZxyz(19.4226, 10.1026, 26.5130)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D8E #1D9E2D
analogous
#6E1D9E #9E1D8E #9E1D4E
triadic
#9E1D8E #8E9E1D #1D8E9E
tetradic
#9E1D8E #9E6E1D #1D9E2D #1D4E9E
square
#9E1D8E #9E6E1D #1D9E2D #1D4E9E
split-complementary
#9E1D8E #4E9E1D #1D9E6E
monochromatic
#370A31 #6A1460 #9E1D8E #D226BC #E056CF

Accessibility & contrast

On white

6.95
#9E1D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E1D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1D8E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D8E#FFFFFF#000000##FFFFFF
##9E1D8E1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E91
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#A62B56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1d8e;
/* rgb */ color: rgb(158, 29, 142);
/* oklch */ color: oklch(49.2% 0.199 334.1);
Tailwind
colors: {
  custom: {
    50: '#bf6aaf',
    500: '#9e1d8e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d8e;
$custom-light: #bf6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d8e",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 307.442,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4923,
    "c": 0.19921,
    "h": 334.1
  },
  "luminance": 0.10101
}

Semantic roles & 50–950 ramp

primary
#9E1D8E
secondary
#54C361
accent
#EC523C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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