#9E2ABC#9E2ABC

#9E2ABC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.223 H 318.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9E2ABC
RGBrgb(158, 42, 188)
HSLhsl(288, 63%, 45%)
HSVhsv(288, 78%, 74%)
CMYKcmyk(16%, 77.7%, 0%, 26.3%)
CIE-LABlab(42.09, 65.67, -52.83)
CIE-LCHlch(42.09, 84.28, 321.19°)
OKLaboklab(53% 0.1662 -0.1486)
OKLCHoklch(53% 0.223 318.2)
XYZxyz(24.0043, 12.5570, 48.7265)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2ABC #48BC2A
analogous
#552ABC #9E2ABC #BC2A91
triadic
#9E2ABC #BC9E2A #2ABC9E
tetradic
#9E2ABC #BC552A #48BC2A #2A91BC
square
#9E2ABC #BC552A #48BC2A #2A91BC
split-complementary
#9E2ABC #91BC2A #2ABC55
monochromatic
#4A1458 #741F8A #9E2ABC #BB4CD7 #CE7EE2

Accessibility & contrast

On white

5.98
#9E2ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9E2ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2ABC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2ABC#FFFFFF#000000##FFFFFF
##9E2ABC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#3167B9
Tritanopia (blue-blind)
#9D4A73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e2abc;
/* rgb */ color: rgb(158, 42, 188);
/* oklch */ color: oklch(53.0% 0.223 318.2);
Tailwind
colors: {
  custom: {
    50: '#bf71d1',
    500: '#9e2abc',
    950: '#000000',
  },
}
SCSS
$custom: #9e2abc;
$custom-light: #bf71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2abc",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 287.671,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53003,
    "c": 0.22292,
    "h": 318.2
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#9E2ABC
secondary
#88CB77
accent
#E74163
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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