#9E1F94#9E1F94

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

Color values

HEX#9E1F94
RGBrgb(158, 31, 148)
HSLhsl(305, 67%, 37%)
HSVhsv(305, 80%, 62%)
CMYKcmyk(0%, 80.4%, 6.3%, 38%)
CIE-LABlab(38.53, 62.03, -34.61)
CIE-LCHlch(38.53, 71.03, 330.84°)
OKLaboklab(49.7% 0.1778 -0.0954)
OKLCHoklch(49.7% 0.202 331.8)
XYZxyz(19.9359, 10.3889, 28.9665)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F94 #1F9E29
analogous
#681F9E #9E1F94 #9E1F55
triadic
#9E1F94 #949E1F #1F949E
tetradic
#9E1F94 #9E681F #1F9E29 #1F559E
square
#9E1F94 #9E681F #1F9E29 #1F559E
split-complementary
#9E1F94 #559E1F #1F9E68
monochromatic
#380B34 #6B1564 #9E1F94 #D129C4 #DE59D4

Accessibility & contrast

On white

6.82
#9E1F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E1F94
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F94#FFFFFF#000000##FFFFFF
##9E1F941.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115097
Deuteranopia (green-blind)
#4B6191
Tritanopia (blue-blind)
#A5305A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1f94;
/* rgb */ color: rgb(158, 31, 148);
/* oklch */ color: oklch(49.7% 0.202 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6bb4',
    500: '#9e1f94',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f94;
$custom-light: #bf6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f94",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 304.724,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.20175,
    "h": 331.8
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#9E1F94
secondary
#56C25F
accent
#EA4B3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1F94

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

Preview Lab → · Contrast checker → · Palette generator →

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