#9E1891#9E1891

#9E1891 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.205 H 332.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9E1891
RGBrgb(158, 24, 145)
HSLhsl(306, 74%, 36%)
HSVhsv(306, 85%, 62%)
CMYKcmyk(0%, 84.8%, 8.2%, 38%)
CIE-LABlab(37.79, 63.25, -33.96)
CIE-LCHlch(37.79, 71.79, 331.77°)
OKLaboklab(49.11% 0.1827 -0.0935)
OKLCHoklch(49.11% 0.205 332.9)
XYZxyz(19.5382, 9.9684, 27.6777)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1891 #189E25
analogous
#68189E #9E1891 #9E184E
triadic
#9E1891 #919E18 #18919E
tetradic
#9E1891 #9E6818 #189E25 #184E9E
square
#9E1891 #9E6818 #189E25 #184E9E
split-complementary
#9E1891 #4E9E18 #189E68
monochromatic
#34082F #691060 #9E1891 #D320C2 #E44DD5

Accessibility & contrast

On white

7.02
#9E1891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E1891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1891
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1891#FFFFFF#000000##FFFFFF
##9E18911.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4D94
Deuteranopia (green-blind)
#4A5F8E
Tritanopia (blue-blind)
#A52A56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1891;
/* rgb */ color: rgb(158, 24, 145);
/* oklch */ color: oklch(49.1% 0.205 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf69b2',
    500: '#9e1891',
    950: '#000000',
  },
}
SCSS
$custom: #9e1891;
$custom-light: #bf69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1891",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 145
  },
  "hsl": {
    "h": 305.821,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.20519,
    "h": 332.9
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

primary
#9E1891
secondary
#4CC658
accent
#F04938
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1891

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

Preview Lab → · Contrast checker → · Palette generator →

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