#9E2AA9#9E2AA9

#9E2AA9 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.207 H 324.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9E2AA9
RGBrgb(158, 42, 169)
HSLhsl(295, 60%, 41%)
HSVhsv(295, 75%, 66%)
CMYKcmyk(6.5%, 75.1%, 0%, 33.7%)
CIE-LABlab(40.88, 62.23, -43.53)
CIE-LCHlch(40.88, 75.94, 325.03°)
OKLaboklab(51.76% 0.168 -0.1214)
OKLCHoklch(51.76% 0.207 324.2)
XYZxyz(22.0893, 11.7910, 38.6408)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AA9 #35A92A
analogous
#5F2AA9 #9E2AA9 #A92A75
triadic
#9E2AA9 #A99E2A #2AA99E
tetradic
#9E2AA9 #A95F2A #35A92A #2A75A9
square
#9E2AA9 #A95F2A #35A92A #2A75A9
split-complementary
#9E2AA9 #75A92A #2AA95F
monochromatic
#421247 #701E78 #9E2AA9 #C341D0 #D372DC

Accessibility & contrast

On white

6.25
#9E2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9E2AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AA9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AA9#FFFFFF#000000##FFFFFF
##9E2AA91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4265A6
Tritanopia (blue-blind)
#A14168
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2aa9;
/* rgb */ color: rgb(158, 42, 169);
/* oklch */ color: oklch(51.8% 0.207 324.2);
Tailwind
colors: {
  custom: {
    50: '#be70c3',
    500: '#9e2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #9e2aa9;
$custom-light: #be70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2aa9",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 294.803,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51763,
    "c": 0.20729,
    "h": 324.2
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#9E2AA9
secondary
#73C36C
accent
#E34452
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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