#9E2D91#9E2D91

#9E2D91 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.185 H 333.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9E2D91
RGBrgb(158, 45, 145)
HSLhsl(307, 56%, 40%)
HSVhsv(307, 72%, 62%)
CMYKcmyk(0%, 71.5%, 8.2%, 38%)
CIE-LABlab(39.90, 57.18, -30.62)
CIE-LCHlch(39.90, 64.86, 331.83°)
OKLaboklab(50.63% 0.1649 -0.084)
OKLCHoklch(50.63% 0.185 333)
XYZxyz(20.1499, 11.1919, 27.8816)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D91 #2D9E3A
analogous
#732D9E #9E2D91 #9E2D58
triadic
#9E2D91 #919E2D #2D919E
tetradic
#9E2D91 #9E732D #2D9E3A #2D589E
square
#9E2D91 #9E732D #2D9E3A #2D589E
split-complementary
#9E2D91 #589E2D #2D9E73
monochromatic
#3F123A #6E1F65 #9E2D91 #C940B9 #D66FCA

Accessibility & contrast

On white

6.49
#9E2D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9E2D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2D91
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D91#FFFFFF#000000##FFFFFF
##9E2D911.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285494
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#A5385B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2d91;
/* rgb */ color: rgb(158, 45, 145);
/* oklch */ color: oklch(50.6% 0.185 333.0);
Tailwind
colors: {
  custom: {
    50: '#be71b1',
    500: '#9e2d91',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d91;
$custom-light: #be71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d91",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 306.903,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50628,
    "c": 0.18505,
    "h": 333
  },
  "luminance": 0.1119
}

Semantic roles & 50–950 ramp

primary
#9E2D91
secondary
#69BD73
accent
#DF5A49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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