#9E1F92#9E1F92

#9E1F92 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.200 H 332.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9E1F92
RGBrgb(158, 31, 146)
HSLhsl(306, 67%, 37%)
HSVhsv(306, 80%, 62%)
CMYKcmyk(0%, 80.4%, 7.6%, 38%)
CIE-LABlab(38.42, 61.72, -33.56)
CIE-LCHlch(38.42, 70.26, 331.46°)
OKLaboklab(49.58% 0.1778 -0.0924)
OKLCHoklch(49.58% 0.2 332.5)
XYZxyz(19.7789, 10.3261, 28.1400)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F92 #1F9E2B
analogous
#6A1F9E #9E1F92 #9E1F53
triadic
#9E1F92 #929E1F #1F929E
tetradic
#9E1F92 #9E6A1F #1F9E2B #1F539E
square
#9E1F92 #9E6A1F #1F9E2B #1F539E
split-complementary
#9E1F92 #539E1F #1F9E6A
monochromatic
#380B33 #6B1563 #9E1F92 #D129C1 #DE59D2

Accessibility & contrast

On white

6.85
#9E1F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E1F92
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F92#FFFFFF#000000##FFFFFF
##9E1F921.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F95
Deuteranopia (green-blind)
#4C618F
Tritanopia (blue-blind)
#A52F58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1f92;
/* rgb */ color: rgb(158, 31, 146);
/* oklch */ color: oklch(49.6% 0.200 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6bb2',
    500: '#9e1f92',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f92;
$custom-light: #bf6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f92",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 305.669,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49583,
    "c": 0.20031,
    "h": 332.5
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

primary
#9E1F92
secondary
#56C261
accent
#EA4E3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1F92

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

Preview Lab → · Contrast checker → · Palette generator →

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