#9E2AA5#9E2AA5

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

Color values

HEX#9E2AA5
RGBrgb(158, 42, 165)
HSLhsl(297, 59%, 41%)
HSVhsv(297, 75%, 65%)
CMYKcmyk(4.2%, 74.5%, 0%, 35.3%)
CIE-LABlab(40.64, 61.53, -41.52)
CIE-LCHlch(40.64, 74.23, 325.99°)
OKLaboklab(51.52% 0.1682 -0.1155)
OKLCHoklch(51.52% 0.204 325.5)
XYZxyz(21.7196, 11.6431, 36.6934)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AA5 #31A52A
analogous
#602AA5 #9E2AA5 #A52A6F
triadic
#9E2AA5 #A59E2A #2AA59E
tetradic
#9E2AA5 #A5602A #31A52A #2A6FA5
square
#9E2AA5 #A5602A #31A52A #2A6FA5
split-complementary
#9E2AA5 #6FA52A #2AA560
monochromatic
#411143 #6F1E74 #9E2AA5 #C63ECE #D46FDA

Accessibility & contrast

On white

6.31
#9E2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9E2AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AA5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AA5#FFFFFF#000000##FFFFFF
##9E2AA51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#4565A2
Tritanopia (blue-blind)
#A23F66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2aa5;
/* rgb */ color: rgb(158, 42, 165);
/* oklch */ color: oklch(51.5% 0.204 325.5);
Tailwind
colors: {
  custom: {
    50: '#be70c0',
    500: '#9e2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #9e2aa5;
$custom-light: #be70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2aa5",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 296.585,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51516,
    "c": 0.20407,
    "h": 325.5
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#9E2AA5
secondary
#6EC169
accent
#E3454E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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