#9E1E94#9E1E94

#9E1E94 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.85:1 contrast (WCAG AA passes).

Color values

HEX#9E1E94
RGBrgb(158, 30, 148)
HSLhsl(305, 68%, 37%)
HSVhsv(305, 81%, 62%)
CMYKcmyk(0%, 81%, 6.3%, 38%)
CIE-LABlab(38.44, 62.29, -34.75)
CIE-LCHlch(38.44, 71.33, 330.84°)
OKLaboklab(49.63% 0.1785 -0.0958)
OKLCHoklch(49.63% 0.203 331.8)
XYZxyz(19.9102, 10.3375, 28.9579)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E94 #1E9E28
analogous
#681E9E #9E1E94 #9E1E54
triadic
#9E1E94 #949E1E #1E949E
tetradic
#9E1E94 #9E681E #1E9E28 #1E549E
square
#9E1E94 #9E681E #1E9E28 #1E549E
split-complementary
#9E1E94 #549E1E #1E9E68
monochromatic
#370A34 #6B1464 #9E1E94 #D128C4 #DF57D5

Accessibility & contrast

On white

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

On black

3.07
#9E1E94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E1E94#FFFFFF#000000##FFFFFF
##9E1E941.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104F97
Deuteranopia (green-blind)
#4A6191
Tritanopia (blue-blind)
#A52F59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1e94;
/* rgb */ color: rgb(158, 30, 148);
/* oklch */ color: oklch(49.6% 0.203 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6bb4',
    500: '#9e1e94',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e94;
$custom-light: #bf6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e94",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 304.688,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.20261,
    "h": 331.8
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#9E1E94
secondary
#55C35E
accent
#EB4A3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1E94

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

Preview Lab → · Contrast checker → · Palette generator →

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