#9E1D94#9E1D94

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

Color values

HEX#9E1D94
RGBrgb(158, 29, 148)
HSLhsl(305, 69%, 37%)
HSVhsv(305, 82%, 62%)
CMYKcmyk(0%, 81.6%, 6.3%, 38%)
CIE-LABlab(38.35, 62.54, -34.89)
CIE-LCHlch(38.35, 71.62, 330.84°)
OKLaboklab(49.57% 0.1793 -0.0962)
OKLCHoklch(49.57% 0.203 331.8)
XYZxyz(19.8853, 10.2876, 28.9496)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D94 #1D9E27
analogous
#681D9E #9E1D94 #9E1D54
triadic
#9E1D94 #949E1D #1D949E
tetradic
#9E1D94 #9E681D #1D9E27 #1D549E
square
#9E1D94 #9E681D #1D9E27 #1D549E
split-complementary
#9E1D94 #549E1D #1D9E68
monochromatic
#370A33 #6A1464 #9E1D94 #D226C4 #E056D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1D94#FFFFFF#000000##FFFFFF
##9E1D941.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)
#0E4F97
Deuteranopia (green-blind)
#4A6091
Tritanopia (blue-blind)
#A52F59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1d94;
/* rgb */ color: rgb(158, 29, 148);
/* oklch */ color: oklch(49.6% 0.203 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6bb4',
    500: '#9e1d94',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d94;
$custom-light: #bf6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d94",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 304.651,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.20345,
    "h": 331.8
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#9E1D94
secondary
#54C35C
accent
#EC4A3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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