#9E1C9D#9E1C9D

#9E1C9D is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.211 H 328.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9E1C9D
RGBrgb(158, 28, 157)
HSLhsl(300, 70%, 36%)
HSVhsv(300, 82%, 62%)
CMYKcmyk(0%, 82.3%, 0.6%, 38%)
CIE-LABlab(38.79, 64.20, -39.67)
CIE-LCHlch(38.79, 75.46, 328.29°)
OKLaboklab(50.04% 0.1798 -0.11)
OKLCHoklch(50.04% 0.211 328.5)
XYZxyz(20.6014, 10.5355, 32.8403)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C9D #1C9E1D
analogous
#5E1C9E #9E1C9D #9E1C5C
triadic
#9E1C9D #9D9E1C #1C9D9E
tetradic
#9E1C9D #9E5E1C #1C9E1D #1C5C9E
square
#9E1C9D #9E5E1C #1C9E1D #1C5C9E
split-complementary
#9E1C9D #5C9E1C #1C9E5E
monochromatic
#360A36 #6A1369 #9E1C9D #D225D1 #E154E0

Accessibility & contrast

On white

6.76
#9E1C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9E1C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1C9D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C9D#FFFFFF#000000##FFFFFF
##9E1C9D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#A3345E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1c9d;
/* rgb */ color: rgb(158, 28, 157);
/* oklch */ color: oklch(50.0% 0.211 328.5);
Tailwind
colors: {
  custom: {
    50: '#bf6bba',
    500: '#9e1c9d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c9d;
$custom-light: #bf6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c9d",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 300.462,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.50044,
    "c": 0.21077,
    "h": 328.5
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#9E1C9D
secondary
#52C453
accent
#ED3C3B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9E1C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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