#9E1F91#9E1F91

#9E1F91 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.200 H 332.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9E1F91
RGBrgb(158, 31, 145)
HSLhsl(306, 67%, 37%)
HSVhsv(306, 80%, 62%)
CMYKcmyk(0%, 80.4%, 8.2%, 38%)
CIE-LABlab(38.37, 61.57, -33.04)
CIE-LCHlch(38.37, 69.87, 331.78°)
OKLaboklab(49.53% 0.1777 -0.0908)
OKLCHoklch(49.53% 0.2 332.9)
XYZxyz(19.7015, 10.2951, 27.7321)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F91 #1F9E2C
analogous
#6C1F9E #9E1F91 #9E1F51
triadic
#9E1F91 #919E1F #1F919E
tetradic
#9E1F91 #9E6C1F #1F9E2C #1F519E
square
#9E1F91 #9E6C1F #1F9E2C #1F519E
split-complementary
#9E1F91 #519E1F #1F9E6C
monochromatic
#380B33 #6B1562 #9E1F91 #D129C0 #DE59D1

Accessibility & contrast

On white

6.87
#9E1F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9E1F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1F91
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F91#FFFFFF#000000##FFFFFF
##9E1F911.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F94
Deuteranopia (green-blind)
#4C618E
Tritanopia (blue-blind)
#A52E58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1f91;
/* rgb */ color: rgb(158, 31, 145);
/* oklch */ color: oklch(49.5% 0.200 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf6bb1',
    500: '#9e1f91',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f91;
$custom-light: #bf6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f91",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 306.142,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49526,
    "c": 0.1996,
    "h": 332.9
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#9E1F91
secondary
#56C262
accent
#EA4F3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1F91

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

Preview Lab → · Contrast checker → · Palette generator →

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