#9E1F95#9E1F95

#9E1F95 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.202 H 331.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9E1F95
RGBrgb(158, 31, 149)
HSLhsl(304, 67%, 37%)
HSVhsv(304, 80%, 62%)
CMYKcmyk(0%, 80.4%, 5.7%, 38%)
CIE-LABlab(38.59, 62.18, -35.13)
CIE-LCHlch(38.59, 71.42, 330.53°)
OKLaboklab(49.75% 0.1778 -0.0969)
OKLCHoklch(49.75% 0.202 331.4)
XYZxyz(20.0154, 10.4207, 29.3852)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F95 #1F9E28
analogous
#681F9E #9E1F95 #9E1F56
triadic
#9E1F95 #959E1F #1F959E
tetradic
#9E1F95 #9E681F #1F9E28 #1F569E
square
#9E1F95 #9E681F #1F9E28 #1F569E
split-complementary
#9E1F95 #569E1F #1F9E68
monochromatic
#380B35 #6B1565 #9E1F95 #D129C5 #DE59D5

Accessibility & contrast

On white

6.81
#9E1F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E1F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1F95
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F95#FFFFFF#000000##FFFFFF
##9E1F951.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5098
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#A5315A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1f95;
/* rgb */ color: rgb(158, 31, 149);
/* oklch */ color: oklch(49.8% 0.202 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6bb4',
    500: '#9e1f95',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f95;
$custom-light: #bf6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f95",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 304.252,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.20248,
    "h": 331.4
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#9E1F95
secondary
#56C25E
accent
#EA4A3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1F95

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

Preview Lab → · Contrast checker → · Palette generator →

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