#9E2AB7#9E2AB7

#9E2AB7 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.219 H 319.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9E2AB7
RGBrgb(158, 42, 183)
HSLhsl(289, 63%, 44%)
HSVhsv(289, 77%, 72%)
CMYKcmyk(13.7%, 77%, 0%, 28.2%)
CIE-LABlab(41.76, 64.74, -50.42)
CIE-LCHlch(41.76, 82.06, 322.09°)
OKLaboklab(52.67% 0.1668 -0.1415)
OKLCHoklch(52.67% 0.219 319.7)
XYZxyz(23.4747, 12.3451, 45.9369)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2AB7 #43B72A
analogous
#582AB7 #9E2AB7 #B72A8A
triadic
#9E2AB7 #B79E2A #2AB79E
tetradic
#9E2AB7 #B7582A #43B72A #2A8AB7
square
#9E2AB7 #B7582A #43B72A #2A8AB7
split-complementary
#9E2AB7 #8AB72A #2AB758
monochromatic
#481353 #731F85 #9E2AB7 #BC49D5 #CF7BE1

Accessibility & contrast

On white

6.05
#9E2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9E2AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2AB7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2AB7#FFFFFF#000000##FFFFFF
##9E2AB71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3766B4
Tritanopia (blue-blind)
#9E4870
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2ab7;
/* rgb */ color: rgb(158, 42, 183);
/* oklch */ color: oklch(52.7% 0.219 319.7);
Tailwind
colors: {
  custom: {
    50: '#bf71cd',
    500: '#9e2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #9e2ab7;
$custom-light: #bf71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2ab7",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 289.362,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.21876,
    "h": 319.7
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#9E2AB7
secondary
#83C974
accent
#E6425F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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