#9E2AB1#9E2AB1

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

Color values

HEX#9E2AB1
RGBrgb(158, 42, 177)
HSLhsl(292, 62%, 43%)
HSVhsv(292, 76%, 69%)
CMYKcmyk(10.7%, 76.3%, 0%, 30.6%)
CIE-LABlab(41.38, 63.65, -47.49)
CIE-LCHlch(41.38, 79.42, 323.27°)
OKLaboklab(52.27% 0.1674 -0.133)
OKLCHoklch(52.27% 0.214 321.5)
XYZxyz(22.8635, 12.1006, 42.7178)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AB1 #3DB12A
analogous
#5B2AB1 #9E2AB1 #B12A80
triadic
#9E2AB1 #B19E2A #2AB19E
tetradic
#9E2AB1 #B15B2A #3DB12A #2A80B1
square
#9E2AB1 #B15B2A #3DB12A #2A80B1
split-complementary
#9E2AB1 #80B12A #2AB15B
monochromatic
#46134E #721E80 #9E2AB1 #BF45D3 #D077DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2AB1#FFFFFF#000000##FFFFFF
##9E2AB11.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)
#0059B5
Deuteranopia (green-blind)
#3C66AE
Tritanopia (blue-blind)
#9F456C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2ab1;
/* rgb */ color: rgb(158, 42, 177);
/* oklch */ color: oklch(52.3% 0.214 321.5);
Tailwind
colors: {
  custom: {
    50: '#bf71c9',
    500: '#9e2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ab1;
$custom-light: #bf71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ab1",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 291.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52272,
    "c": 0.21381,
    "h": 321.5
  },
  "luminance": 0.12099
}

Semantic roles & 50–950 ramp

primary
#9E2AB1
secondary
#7DC670
accent
#E5435A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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