#9E2EA9#9E2EA9

#9E2EA9 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.203 H 324.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9E2EA9
RGBrgb(158, 46, 169)
HSLhsl(295, 57%, 42%)
HSVhsv(295, 73%, 66%)
CMYKcmyk(6.5%, 72.8%, 0%, 33.7%)
CIE-LABlab(41.36, 60.87, -42.77)
CIE-LCHlch(41.36, 74.39, 324.91°)
OKLaboklab(52.1% 0.1643 -0.1192)
OKLCHoklch(52.1% 0.203 324)
XYZxyz(22.2384, 12.0890, 38.6905)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EA9 #39A92E
analogous
#612EA9 #9E2EA9 #A92E77
triadic
#9E2EA9 #A99E2E #2EA99E
tetradic
#9E2EA9 #A9612E #39A92E #2E77A9
square
#9E2EA9 #A9612E #39A92E #2E77A9
split-complementary
#9E2EA9 #77A92E #2EA961
monochromatic
#441449 #712179 #9E2EA9 #C147CD #D177DA

Accessibility & contrast

On white

6.14
#9E2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9E2EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EA9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EA9#FFFFFF#000000##FFFFFF
##9E2EA91.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4566A6
Tritanopia (blue-blind)
#A14469
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2ea9;
/* rgb */ color: rgb(158, 46, 169);
/* oklch */ color: oklch(52.1% 0.203 324.0);
Tailwind
colors: {
  custom: {
    50: '#be72c3',
    500: '#9e2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ea9;
$custom-light: #be72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ea9",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 294.634,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.20299,
    "h": 324
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#9E2EA9
secondary
#78C271
accent
#E04755
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #9E2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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