#9E2AA4#9E2AA4

#9E2AA4 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.203 H 325.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9E2AA4
RGBrgb(158, 42, 164)
HSLhsl(297, 59%, 40%)
HSVhsv(297, 74%, 64%)
CMYKcmyk(3.7%, 74.4%, 0%, 35.7%)
CIE-LABlab(40.58, 61.36, -41.01)
CIE-LCHlch(40.58, 73.81, 326.24°)
OKLaboklab(51.46% 0.1683 -0.114)
OKLCHoklch(51.46% 0.203 325.9)
XYZxyz(21.6289, 11.6068, 36.2159)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AA4 #30A42A
analogous
#612AA4 #9E2AA4 #A42A6D
triadic
#9E2AA4 #A49E2A #2AA49E
tetradic
#9E2AA4 #A4612A #30A42A #2A6DA4
square
#9E2AA4 #A4612A #30A42A #2A6DA4
split-complementary
#9E2AA4 #6DA42A #2AA461
monochromatic
#401143 #6F1E73 #9E2AA4 #C63ECD #D56EDA

Accessibility & contrast

On white

6.32
#9E2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9E2AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AA4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AA4#FFFFFF#000000##FFFFFF
##9E2AA41.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0157A7
Deuteranopia (green-blind)
#4665A1
Tritanopia (blue-blind)
#A23F65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2aa4;
/* rgb */ color: rgb(158, 42, 164);
/* oklch */ color: oklch(51.5% 0.203 325.9);
Tailwind
colors: {
  custom: {
    50: '#be70bf',
    500: '#9e2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #9e2aa4;
$custom-light: #be70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2aa4",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 297.049,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51456,
    "c": 0.20326,
    "h": 325.9
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#9E2AA4
secondary
#6DC169
accent
#E2454D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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