#9E1989#9E1989

#9E1989 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.199 H 336.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9E1989
RGBrgb(158, 25, 137)
HSLhsl(309, 73%, 36%)
HSVhsv(309, 84%, 62%)
CMYKcmyk(0%, 84.2%, 13.3%, 38%)
CIE-LABlab(37.43, 61.86, -29.61)
CIE-LCHlch(37.43, 68.58, 334.43°)
OKLaboklab(48.72% 0.1818 -0.0809)
OKLCHoklch(48.72% 0.199 336)
XYZxyz(18.9639, 9.7723, 24.5496)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1989 #199E2E
analogous
#70199E #9E1989 #9E1946
triadic
#9E1989 #899E19 #19899E
tetradic
#9E1989 #9E7019 #199E2E #19469E
square
#9E1989 #9E7019 #199E2E #19469E
split-complementary
#9E1989 #469E19 #199E70
monochromatic
#34082D #69115B #9E1989 #D321B7 #E34ECC

Accessibility & contrast

On white

7.11
#9E1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9E1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1989
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1989#FFFFFF#000000##FFFFFF
##9E19891.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8C
Deuteranopia (green-blind)
#4E5F86
Tritanopia (blue-blind)
#A62652
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1989;
/* rgb */ color: rgb(158, 25, 137);
/* oklch */ color: oklch(48.7% 0.199 336.0);
Tailwind
colors: {
  custom: {
    50: '#bf69ac',
    500: '#9e1989',
    950: '#000000',
  },
}
SCSS
$custom: #9e1989;
$custom-light: #bf69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1989",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 309.474,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48719,
    "c": 0.19898,
    "h": 336
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#9E1989
secondary
#4EC560
accent
#EF5538
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1989

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

Preview Lab → · Contrast checker → · Palette generator →

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