#9E2AA7#9E2AA7

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

Color values

HEX#9E2AA7
RGBrgb(158, 42, 167)
HSLhsl(296, 60%, 41%)
HSVhsv(296, 75%, 65%)
CMYKcmyk(5.4%, 74.9%, 0%, 34.5%)
CIE-LABlab(40.76, 61.88, -42.52)
CIE-LCHlch(40.76, 75.08, 325.50°)
OKLaboklab(51.64% 0.1681 -0.1185)
OKLCHoklch(51.64% 0.206 324.8)
XYZxyz(21.9030, 11.7165, 37.6596)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AA7 #33A72A
analogous
#5F2AA7 #9E2AA7 #A72A71
triadic
#9E2AA7 #A79E2A #2AA79E
tetradic
#9E2AA7 #A75F2A #33A72A #2A71A7
square
#9E2AA7 #A75F2A #33A72A #2A71A7
split-complementary
#9E2AA7 #71A72A #2AA75F
monochromatic
#411145 #701E76 #9E2AA7 #C43FCF #D370DB

Accessibility & contrast

On white

6.28
#9E2AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2AA7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AA7#FFFFFF#000000##FFFFFF
##9E2AA71.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4465A4
Tritanopia (blue-blind)
#A14067
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2aa7;
/* rgb */ color: rgb(158, 42, 167);
/* oklch */ color: oklch(51.6% 0.206 324.8);
Tailwind
colors: {
  custom: {
    50: '#be70c2',
    500: '#9e2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #9e2aa7;
$custom-light: #be70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2aa7",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 295.68,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.20567,
    "h": 324.8
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#9E2AA7
secondary
#71C26B
accent
#E34550
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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