#9E2C91#9E2C91

#9E2C91 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.186 H 333.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9E2C91
RGBrgb(158, 44, 145)
HSLhsl(307, 56%, 40%)
HSVhsv(307, 72%, 62%)
CMYKcmyk(0%, 72.2%, 8.2%, 38%)
CIE-LABlab(39.78, 57.54, -30.82)
CIE-LCHlch(39.78, 65.27, 331.82°)
OKLaboklab(50.54% 0.1659 -0.0845)
OKLCHoklch(50.54% 0.186 333)
XYZxyz(20.1122, 11.1165, 27.8690)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C91 #2C9E39
analogous
#722C9E #9E2C91 #9E2C58
triadic
#9E2C91 #919E2C #2C919E
tetradic
#9E2C91 #9E722C #2C9E39 #2C589E
square
#9E2C91 #9E722C #2C9E39 #2C589E
split-complementary
#9E2C91 #589E2C #2C9E72
monochromatic
#3E1139 #6E1F65 #9E2C91 #C93EB9 #D76ECB

Accessibility & contrast

On white

6.52
#9E2C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9E2C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C91
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C91#FFFFFF#000000##FFFFFF
##9E2C911.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#51648E
Tritanopia (blue-blind)
#A5375B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2c91;
/* rgb */ color: rgb(158, 44, 145);
/* oklch */ color: oklch(50.5% 0.186 333.0);
Tailwind
colors: {
  custom: {
    50: '#be70b1',
    500: '#9e2c91',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c91;
$custom-light: #be70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c91",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 306.842,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50537,
    "c": 0.18623,
    "h": 333
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

primary
#9E2C91
secondary
#68BE72
accent
#E05948
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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