#9E1F99#9E1F99

#9E1F99 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.205 H 329.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9E1F99
RGBrgb(158, 31, 153)
HSLhsl(302, 67%, 37%)
HSVhsv(302, 80%, 62%)
CMYKcmyk(0%, 80.4%, 3.2%, 38%)
CIE-LABlab(38.81, 62.81, -37.20)
CIE-LCHlch(38.81, 73.00, 329.36°)
OKLaboklab(49.99% 0.1778 -0.1029)
OKLCHoklch(49.99% 0.205 329.9)
XYZxyz(20.3402, 10.5506, 31.0960)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F99 #1F9E24
analogous
#641F9E #9E1F99 #9E1F5A
triadic
#9E1F99 #999E1F #1F999E
tetradic
#9E1F99 #9E641F #1F9E24 #1F5A9E
square
#9E1F99 #9E641F #1F9E24 #1F5A9E
split-complementary
#9E1F99 #5A9E1F #1F9E64
monochromatic
#380B36 #6B1567 #9E1F99 #D129CB #DE59D9

Accessibility & contrast

On white

6.75
#9E1F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9E1F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1F99
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F99#FFFFFF#000000##FFFFFF
##9E1F991.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04519C
Deuteranopia (green-blind)
#486196
Tritanopia (blue-blind)
#A4335C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1f99;
/* rgb */ color: rgb(158, 31, 153);
/* oklch */ color: oklch(50.0% 0.205 329.9);
Tailwind
colors: {
  custom: {
    50: '#bf6cb7',
    500: '#9e1f99',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f99;
$custom-light: #bf6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f99",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 302.362,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49988,
    "c": 0.20539,
    "h": 329.9
  },
  "luminance": 0.10549
}

Semantic roles & 50–950 ramp

primary
#9E1F99
secondary
#56C25B
accent
#EA443E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1F99

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

Preview Lab → · Contrast checker → · Palette generator →

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