#9E2EA4#9E2EA4

#9E2EA4 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.199 H 325.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9E2EA4
RGBrgb(158, 46, 164)
HSLhsl(297, 56%, 41%)
HSVhsv(297, 72%, 64%)
CMYKcmyk(3.7%, 72%, 0%, 35.7%)
CIE-LABlab(41.06, 59.99, -40.25)
CIE-LCHlch(41.06, 72.24, 326.14°)
OKLaboklab(51.8% 0.1644 -0.1118)
OKLCHoklch(51.8% 0.199 325.8)
XYZxyz(21.7779, 11.9049, 36.2656)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EA4 #34A42E
analogous
#632EA4 #9E2EA4 #A42E6F
triadic
#9E2EA4 #A49E2E #2EA49E
tetradic
#9E2EA4 #A4632E #34A42E #2E6FA4
square
#9E2EA4 #A4632E #34A42E #2E6FA4
split-complementary
#9E2EA4 #6FA42E #2EA463
monochromatic
#421344 #702174 #9E2EA4 #C445CB #D374D8

Accessibility & contrast

On white

6.21
#9E2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9E2EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EA4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EA4#FFFFFF#000000##FFFFFF
##9E2EA41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F58A7
Deuteranopia (green-blind)
#4866A1
Tritanopia (blue-blind)
#A24166
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2ea4;
/* rgb */ color: rgb(158, 46, 164);
/* oklch */ color: oklch(51.8% 0.199 325.8);
Tailwind
colors: {
  custom: {
    50: '#be72bf',
    500: '#9e2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ea4;
$custom-light: #be72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ea4",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 296.949,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51799,
    "c": 0.19887,
    "h": 325.8
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#9E2EA4
secondary
#72C06E
accent
#DF4850
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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