#9E2AA1#9E2AA1

#9E2AA1 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.201 H 326.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9E2AA1
RGBrgb(158, 42, 161)
HSLhsl(298, 59%, 40%)
HSVhsv(298, 74%, 63%)
CMYKcmyk(1.9%, 73.9%, 0%, 36.9%)
CIE-LABlab(40.41, 60.85, -39.49)
CIE-LCHlch(40.41, 72.54, 327.02°)
OKLaboklab(51.28% 0.1683 -0.1096)
OKLCHoklch(51.28% 0.201 326.9)
XYZxyz(21.3612, 11.4997, 34.8059)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AA1 #2DA12A
analogous
#622AA1 #9E2AA1 #A12A69
triadic
#9E2AA1 #A19E2A #2AA19E
tetradic
#9E2AA1 #A1622A #2DA12A #2A69A1
square
#9E2AA1 #A1622A #2DA12A #2A69A1
split-complementary
#9E2AA1 #69A12A #2AA162
monochromatic
#3F1140 #6E1D70 #9E2AA1 #C93CCC #D66DD9

Accessibility & contrast

On white

6.36
#9E2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9E2AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AA1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AA1#FFFFFF#000000##FFFFFF
##9E2AA11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A4
Deuteranopia (green-blind)
#48649E
Tritanopia (blue-blind)
#A33D63
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e2aa1;
/* rgb */ color: rgb(158, 42, 161);
/* oklch */ color: oklch(51.3% 0.201 326.9);
Tailwind
colors: {
  custom: {
    50: '#be70bd',
    500: '#9e2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #9e2aa1;
$custom-light: #be70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2aa1",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 298.487,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.20088,
    "h": 326.9
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#9E2AA1
secondary
#69C067
accent
#E2464A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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