#9E2AA6#9E2AA6

#9E2AA6 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.205 H 325.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9E2AA6
RGBrgb(158, 42, 166)
HSLhsl(296, 60%, 41%)
HSVhsv(296, 75%, 65%)
CMYKcmyk(4.8%, 74.7%, 0%, 34.9%)
CIE-LABlab(40.70, 61.71, -42.02)
CIE-LCHlch(40.70, 74.66, 325.75°)
OKLaboklab(51.58% 0.1682 -0.117)
OKLCHoklch(51.58% 0.205 325.2)
XYZxyz(21.8109, 11.6796, 37.1746)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AA6 #32A62A
analogous
#602AA6 #9E2AA6 #A62A70
triadic
#9E2AA6 #A69E2A #2AA69E
tetradic
#9E2AA6 #A6602A #32A62A #2A70A6
square
#9E2AA6 #A6602A #32A62A #2A70A6
split-complementary
#9E2AA6 #70A62A #2AA660
monochromatic
#411144 #701E75 #9E2AA6 #C53FCE #D470DB

Accessibility & contrast

On white

6.30
#9E2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9E2AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AA6
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AA6#FFFFFF#000000##FFFFFF
##9E2AA61.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4465A3
Tritanopia (blue-blind)
#A24066
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2aa6;
/* rgb */ color: rgb(158, 42, 166);
/* oklch */ color: oklch(51.6% 0.205 325.2);
Tailwind
colors: {
  custom: {
    50: '#be70c1',
    500: '#9e2aa6',
    950: '#000000',
  },
}
SCSS
$custom: #9e2aa6;
$custom-light: #be70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2aa6",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 296.129,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.20487,
    "h": 325.2
  },
  "luminance": 0.11678
}

Semantic roles & 50–950 ramp

primary
#9E2AA6
secondary
#70C26A
accent
#E3454F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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