#9E2EAA#9E2EAA

#9E2EAA is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.204 H 323.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9E2EAA
RGBrgb(158, 46, 170)
HSLhsl(294, 57%, 42%)
HSVhsv(294, 73%, 67%)
CMYKcmyk(7.1%, 72.9%, 0%, 33.3%)
CIE-LABlab(41.42, 61.05, -43.27)
CIE-LCHlch(41.42, 74.83, 324.67°)
OKLaboklab(52.16% 0.1643 -0.1207)
OKLCHoklch(52.16% 0.204 323.7)
XYZxyz(22.3326, 12.1267, 39.1868)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EAA #3AAA2E
analogous
#602EAA #9E2EAA #AA2E78
triadic
#9E2EAA #AA9E2E #2EAA9E
tetradic
#9E2EAA #AA602E #3AAA2E #2E78AA
square
#9E2EAA #AA602E #3AAA2E #2E78AA
split-complementary
#9E2EAA #78AA2E #2EAA60
monochromatic
#44144A #71217A #9E2EAA #C048CD #D178DA

Accessibility & contrast

On white

6.13
#9E2EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9E2EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EAA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EAA#FFFFFF#000000##FFFFFF
##9E2EAA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#A14469
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2eaa;
/* rgb */ color: rgb(158, 46, 170);
/* oklch */ color: oklch(52.2% 0.204 323.7);
Tailwind
colors: {
  custom: {
    50: '#be72c4',
    500: '#9e2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #9e2eaa;
$custom-light: #be72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2eaa",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 294.194,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52164,
    "c": 0.20381,
    "h": 323.7
  },
  "luminance": 0.12125
}

Semantic roles & 50–950 ramp

primary
#9E2EAA
secondary
#79C371
accent
#E14756
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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