#9E1E8B#9E1E8B

#9E1E8B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.196 H 335.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9E1E8B
RGBrgb(158, 30, 139)
HSLhsl(309, 68%, 37%)
HSVhsv(309, 81%, 62%)
CMYKcmyk(0%, 81%, 12%, 38%)
CIE-LABlab(37.96, 60.94, -30.01)
CIE-LCHlch(37.96, 67.92, 333.78°)
OKLaboklab(49.13% 0.1783 -0.0821)
OKLCHoklch(49.13% 0.196 335.3)
XYZxyz(19.2253, 10.0635, 25.3510)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E8B #1E9E31
analogous
#711E9E #9E1E8B #9E1E4B
triadic
#9E1E8B #8B9E1E #1E8B9E
tetradic
#9E1E8B #9E711E #1E9E31 #1E4B9E
square
#9E1E8B #9E711E #1E9E31 #1E4B9E
split-complementary
#9E1E8B #4B9E1E #1E9E71
monochromatic
#370A31 #6B145E #9E1E8B #D128B8 #DF57CB

Accessibility & contrast

On white

6.97
#9E1E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E1E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1E8B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E8B#FFFFFF#000000##FFFFFF
##9E1E8B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#A62A54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1e8b;
/* rgb */ color: rgb(158, 30, 139);
/* oklch */ color: oklch(49.1% 0.196 335.3);
Tailwind
colors: {
  custom: {
    50: '#bf6bad',
    500: '#9e1e8b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e8b;
$custom-light: #bf6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e8b",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 308.906,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.19627,
    "h": 335.3
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#9E1E8B
secondary
#55C365
accent
#EB573D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E1E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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