#9E1C8C#9E1C8C

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

Color values

HEX#9E1C8C
RGBrgb(158, 28, 140)
HSLhsl(308, 70%, 36%)
HSVhsv(308, 82%, 62%)
CMYKcmyk(0%, 82.3%, 11.4%, 38%)
CIE-LABlab(37.83, 61.59, -30.82)
CIE-LCHlch(37.83, 68.87, 333.42°)
OKLaboklab(49.06% 0.1798 -0.0844)
OKLCHoklch(49.06% 0.199 334.9)
XYZxyz(19.2497, 9.9948, 25.7213)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C8C #1C9E2E
analogous
#6F1C9E #9E1C8C #9E1C4B
triadic
#9E1C8C #8C9E1C #1C8C9E
tetradic
#9E1C8C #9E6F1C #1C9E2E #1C4B9E
square
#9E1C8C #9E6F1C #1C9E2E #1C4B9E
split-complementary
#9E1C8C #4B9E1C #1C9E6F
monochromatic
#360A30 #6A135E #9E1C8C #D225BA #E154CD

Accessibility & contrast

On white

7.00
#9E1C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1C8C
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C8C#FFFFFF#000000##FFFFFF
##9E1C8C1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D8F
Deuteranopia (green-blind)
#4E6089
Tritanopia (blue-blind)
#A62A54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1c8c;
/* rgb */ color: rgb(158, 28, 140);
/* oklch */ color: oklch(49.1% 0.199 334.9);
Tailwind
colors: {
  custom: {
    50: '#bf6aae',
    500: '#9e1c8c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c8c;
$custom-light: #bf6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c8c",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 308.308,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.19866,
    "h": 334.9
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#9E1C8C
secondary
#52C462
accent
#ED543B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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