#9E1C8E#9E1C8E

#9E1C8E is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.200 H 334.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9E1C8E
RGBrgb(158, 28, 142)
HSLhsl(307, 70%, 36%)
HSVhsv(307, 82%, 62%)
CMYKcmyk(0%, 82.3%, 10.1%, 38%)
CIE-LABlab(37.94, 61.88, -31.88)
CIE-LCHlch(37.94, 69.61, 332.75°)
OKLaboklab(49.17% 0.1799 -0.0875)
OKLCHoklch(49.17% 0.2 334.1)
XYZxyz(19.3985, 10.0544, 26.5050)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C8E #1C9E2C
analogous
#6D1C9E #9E1C8E #9E1C4D
triadic
#9E1C8E #8E9E1C #1C8E9E
tetradic
#9E1C8E #9E6D1C #1C9E2C #1C4D9E
square
#9E1C8E #9E6D1C #1C9E2C #1C4D9E
split-complementary
#9E1C8E #4D9E1C #1C9E6D
monochromatic
#360A31 #6A135F #9E1C8E #D225BD #E154CF

Accessibility & contrast

On white

6.98
#9E1C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E1C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1C8E
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C8E#FFFFFF#000000##FFFFFF
##9E1C8E1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D91
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#A62B55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1c8e;
/* rgb */ color: rgb(158, 28, 142);
/* oklch */ color: oklch(49.2% 0.200 334.1);
Tailwind
colors: {
  custom: {
    50: '#bf6aaf',
    500: '#9e1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c8e;
$custom-light: #bf6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c8e",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 307.385,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49169,
    "c": 0.20004,
    "h": 334.1
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#9E1C8E
secondary
#52C460
accent
#ED513B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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