#9E2891#9E2891

#9E2891 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.191 H 333.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9E2891
RGBrgb(158, 40, 145)
HSLhsl(307, 60%, 39%)
HSVhsv(307, 75%, 62%)
CMYKcmyk(0%, 74.7%, 8.2%, 38%)
CIE-LABlab(39.30, 58.90, -31.57)
CIE-LCHlch(39.30, 66.83, 331.81°)
OKLaboklab(50.19% 0.1699 -0.0867)
OKLCHoklch(50.19% 0.191 333)
XYZxyz(19.9703, 10.8327, 27.8217)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2891 #289E35
analogous
#70289E #9E2891 #9E2856
triadic
#9E2891 #919E28 #28919E
tetradic
#9E2891 #9E7028 #289E35 #28569E
square
#9E2891 #9E7028 #289E35 #28569E
split-complementary
#9E2891 #569E28 #289E70
monochromatic
#3C0F37 #6D1C64 #9E2891 #CC37BC #D968CC

Accessibility & contrast

On white

6.63
#9E2891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9E2891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2891
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2891#FFFFFF#000000##FFFFFF
##9E28911.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225294
Deuteranopia (green-blind)
#50638E
Tritanopia (blue-blind)
#A5345A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2891;
/* rgb */ color: rgb(158, 40, 145);
/* oklch */ color: oklch(50.2% 0.191 333.0);
Tailwind
colors: {
  custom: {
    50: '#be6fb1',
    500: '#9e2891',
    950: '#000000',
  },
}
SCSS
$custom: #9e2891;
$custom-light: #be6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2891",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 306.61,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50193,
    "c": 0.19075,
    "h": 333
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#9E2891
secondary
#63BF6D
accent
#E35645
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2891

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

Preview Lab → · Contrast checker → · Palette generator →

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