#9E1F96#9E1F96

#9E1F96 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.203 H 331.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9E1F96
RGBrgb(158, 31, 150)
HSLhsl(304, 67%, 37%)
HSVhsv(304, 80%, 62%)
CMYKcmyk(0%, 80.4%, 5.1%, 38%)
CIE-LABlab(38.64, 62.34, -35.65)
CIE-LCHlch(38.64, 71.81, 330.23°)
OKLaboklab(49.81% 0.1778 -0.0984)
OKLCHoklch(49.81% 0.203 331)
XYZxyz(20.0955, 10.4527, 29.8074)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F96 #1F9E27
analogous
#671F9E #9E1F96 #9E1F56
triadic
#9E1F96 #969E1F #1F969E
tetradic
#9E1F96 #9E671F #1F9E27 #1F569E
square
#9E1F96 #9E671F #1F9E27 #1F569E
split-complementary
#9E1F96 #569E1F #1F9E67
monochromatic
#380B35 #6B1565 #9E1F96 #D129C7 #DE59D6

Accessibility & contrast

On white

6.80
#9E1F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9E1F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1F96
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F96#FFFFFF#000000##FFFFFF
##9E1F961.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5099
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#A4315B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1f96;
/* rgb */ color: rgb(158, 31, 150);
/* oklch */ color: oklch(49.8% 0.203 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf6bb5',
    500: '#9e1f96',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f96;
$custom-light: #bf6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f96",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 303.78,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.2032,
    "h": 331
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#9E1F96
secondary
#56C25D
accent
#EA493E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1F96

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

Preview Lab → · Contrast checker → · Palette generator →

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