#9E2AB3#9E2AB3

#9E2AB3 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.215 H 320.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9E2AB3
RGBrgb(158, 42, 179)
HSLhsl(291, 62%, 43%)
HSVhsv(291, 77%, 70%)
CMYKcmyk(11.7%, 76.5%, 0%, 29.8%)
CIE-LABlab(41.50, 64.01, -48.47)
CIE-LCHlch(41.50, 80.29, 322.87°)
OKLaboklab(52.4% 0.1672 -0.1358)
OKLCHoklch(52.4% 0.215 320.9)
XYZxyz(23.0643, 12.1810, 43.7754)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AB3 #3FB32A
analogous
#592AB3 #9E2AB3 #B32A83
triadic
#9E2AB3 #B39E2A #2AB39E
tetradic
#9E2AB3 #B3592A #3FB32A #2A83B3
square
#9E2AB3 #B3592A #3FB32A #2A83B3
split-complementary
#9E2AB3 #83B32A #2AB359
monochromatic
#461350 #721E81 #9E2AB3 #BE46D4 #D078DF

Accessibility & contrast

On white

6.11
#9E2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9E2AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AB3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AB3#FFFFFF#000000##FFFFFF
##9E2AB31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#9F466E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2ab3;
/* rgb */ color: rgb(158, 42, 179);
/* oklch */ color: oklch(52.4% 0.215 320.9);
Tailwind
colors: {
  custom: {
    50: '#bf71ca',
    500: '#9e2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ab3;
$custom-light: #bf71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ab3",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 290.803,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.21546,
    "h": 320.9
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#9E2AB3
secondary
#7FC772
accent
#E5435C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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