#9E2ABD#9E2ABD

#9E2ABD is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.224 H 317.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9E2ABD
RGBrgb(158, 42, 189)
HSLhsl(287, 64%, 45%)
HSVhsv(287, 78%, 74%)
CMYKcmyk(16.4%, 77.8%, 0%, 25.9%)
CIE-LABlab(42.15, 65.86, -53.31)
CIE-LCHlch(42.15, 84.73, 321.01°)
OKLaboklab(53.07% 0.166 -0.15)
OKLCHoklch(53.07% 0.224 317.9)
XYZxyz(24.1125, 12.6003, 49.2962)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2ABD #49BD2A
analogous
#552ABD #9E2ABD #BD2A92
triadic
#9E2ABD #BD9E2A #2ABD9E
tetradic
#9E2ABD #BD552A #49BD2A #2A92BD
square
#9E2ABD #BD552A #49BD2A #2A92BD
split-complementary
#9E2ABD #92BD2A #2ABD55
monochromatic
#4A1459 #741F8B #9E2ABD #BA4DD7 #CE7FE3

Accessibility & contrast

On white

5.97
#9E2ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9E2ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2ABD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2ABD#FFFFFF#000000##FFFFFF
##9E2ABD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#3067BA
Tritanopia (blue-blind)
#9D4B73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e2abd;
/* rgb */ color: rgb(158, 42, 189);
/* oklch */ color: oklch(53.1% 0.224 317.9);
Tailwind
colors: {
  custom: {
    50: '#bf71d2',
    500: '#9e2abd',
    950: '#000000',
  },
}
SCSS
$custom: #9e2abd;
$custom-light: #bf71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2abd",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 287.347,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.22375,
    "h": 317.9
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#9E2ABD
secondary
#89CB78
accent
#E74164
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E2ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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