#9E1C8D#9E1C8D

#9E1C8D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.1% C 0.199 H 334.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9E1C8D
RGBrgb(158, 28, 141)
HSLhsl(308, 70%, 36%)
HSVhsv(308, 82%, 62%)
CMYKcmyk(0%, 82.3%, 10.8%, 38%)
CIE-LABlab(37.89, 61.74, -31.35)
CIE-LCHlch(37.89, 69.24, 333.08°)
OKLaboklab(49.11% 0.1799 -0.0859)
OKLCHoklch(49.11% 0.199 334.5)
XYZxyz(19.3238, 10.0245, 26.1113)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C8D #1C9E2D
analogous
#6E1C9E #9E1C8D #9E1C4C
triadic
#9E1C8D #8D9E1C #1C8D9E
tetradic
#9E1C8D #9E6E1C #1C9E2D #1C4C9E
square
#9E1C8D #9E6E1C #1C9E2D #1C4C9E
split-complementary
#9E1C8D #4C9E1C #1C9E6E
monochromatic
#360A30 #6A135F #9E1C8D #D225BB #E154CE

Accessibility & contrast

On white

6.99
#9E1C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9E1C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1C8D
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C8D#FFFFFF#000000##FFFFFF
##9E1C8D1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D90
Deuteranopia (green-blind)
#4D608A
Tritanopia (blue-blind)
#A62A55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1c8d;
/* rgb */ color: rgb(158, 28, 141);
/* oklch */ color: oklch(49.1% 0.199 334.5);
Tailwind
colors: {
  custom: {
    50: '#bf6aaf',
    500: '#9e1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c8d;
$custom-light: #bf6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c8d",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 307.846,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49113,
    "c": 0.19935,
    "h": 334.5
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#9E1C8D
secondary
#52C461
accent
#ED523B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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