#9E2A99#9E2A99

#9E2A99 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.195 H 329.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9E2A99
RGBrgb(158, 42, 153)
HSLhsl(303, 58%, 39%)
HSVhsv(303, 73%, 62%)
CMYKcmyk(0%, 73.4%, 3.2%, 38%)
CIE-LABlab(39.96, 59.52, -35.39)
CIE-LCHlch(39.96, 69.24, 329.27°)
OKLaboklab(50.81% 0.1683 -0.0977)
OKLCHoklch(50.81% 0.195 329.9)
XYZxyz(20.6782, 11.2265, 31.2087)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A99 #2A9E2F
analogous
#692A9E #9E2A99 #9E2A5F
triadic
#9E2A99 #999E2A #2A999E
tetradic
#9E2A99 #9E692A #2A9E2F #2A5F9E
square
#9E2A99 #9E692A #2A9E2F #2A5F9E
split-complementary
#9E2A99 #5F9E2A #2A9E69
monochromatic
#3D103B #6E1D6A #9E2A99 #CB3AC5 #D86BD3

Accessibility & contrast

On white

6.47
#9E2A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9E2A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A99
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A99#FFFFFF#000000##FFFFFF
##9E2A991.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B549C
Deuteranopia (green-blind)
#4C6496
Tritanopia (blue-blind)
#A43A5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2a99;
/* rgb */ color: rgb(158, 42, 153);
/* oklch */ color: oklch(50.8% 0.195 329.9);
Tailwind
colors: {
  custom: {
    50: '#be70b7',
    500: '#9e2a99',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a99;
$custom-light: #be70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a99",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 302.586,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50807,
    "c": 0.19461,
    "h": 329.9
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#9E2A99
secondary
#66BE69
accent
#E14D47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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