#9E1C8F#9E1C8F

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

Color values

HEX#9E1C8F
RGBrgb(158, 28, 143)
HSLhsl(307, 70%, 36%)
HSVhsv(307, 82%, 62%)
CMYKcmyk(0%, 82.3%, 9.5%, 38%)
CIE-LABlab(37.99, 62.03, -32.41)
CIE-LCHlch(37.99, 69.99, 332.42°)
OKLaboklab(49.23% 0.1799 -0.089)
OKLCHoklch(49.23% 0.201 333.7)
XYZxyz(19.4739, 10.0845, 26.9022)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C8F #1C9E2B
analogous
#6C1C9E #9E1C8F #9E1C4E
triadic
#9E1C8F #8F9E1C #1C8F9E
tetradic
#9E1C8F #9E6C1C #1C9E2B #1C4E9E
square
#9E1C8F #9E6C1C #1C9E2B #1C4E9E
split-complementary
#9E1C8F #4E9E1C #1C9E6C
monochromatic
#360A31 #6A1360 #9E1C8F #D225BE #E154D0

Accessibility & contrast

On white

6.96
#9E1C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E1C8F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C8F#FFFFFF#000000##FFFFFF
##9E1C8F1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E92
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#A62B56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1c8f;
/* rgb */ color: rgb(158, 28, 143);
/* oklch */ color: oklch(49.2% 0.201 333.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ab0',
    500: '#9e1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c8f;
$custom-light: #bf6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c8f",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 306.923,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49225,
    "c": 0.20073,
    "h": 333.7
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#9E1C8F
secondary
#52C45F
accent
#ED503B
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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