#9E2A91#9E2A91

#9E2A91 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.189 H 333.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9E2A91
RGBrgb(158, 42, 145)
HSLhsl(307, 58%, 39%)
HSVhsv(307, 73%, 62%)
CMYKcmyk(0%, 73.4%, 8.2%, 38%)
CIE-LABlab(39.53, 58.23, -31.20)
CIE-LCHlch(39.53, 66.06, 331.81°)
OKLaboklab(50.36% 0.168 -0.0856)
OKLCHoklch(50.36% 0.189 333)
XYZxyz(20.0395, 10.9710, 27.8448)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A91 #2A9E37
analogous
#712A9E #9E2A91 #9E2A57
triadic
#9E2A91 #919E2A #2A919E
tetradic
#9E2A91 #9E712A #2A9E37 #2A579E
square
#9E2A91 #9E712A #2A9E37 #2A579E
split-complementary
#9E2A91 #579E2A #2A9E71
monochromatic
#3D1038 #6E1D65 #9E2A91 #CB3ABB #D86BCB

Accessibility & contrast

On white

6.58
#9E2A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9E2A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A91
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A91#FFFFFF#000000##FFFFFF
##9E2A911.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2a91;
/* rgb */ color: rgb(158, 42, 145);
/* oklch */ color: oklch(50.4% 0.189 333.0);
Tailwind
colors: {
  custom: {
    50: '#be6fb1',
    500: '#9e2a91',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a91;
$custom-light: #be6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a91",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 306.724,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.18853,
    "h": 333
  },
  "luminance": 0.10969
}

Semantic roles & 50–950 ramp

primary
#9E2A91
secondary
#66BE70
accent
#E15847
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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