#9E2CAD#9E2CAD

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

Color values

HEX#9E2CAD
RGBrgb(158, 44, 173)
HSLhsl(293, 59%, 43%)
HSVhsv(293, 75%, 68%)
CMYKcmyk(8.7%, 74.6%, 0%, 32.2%)
CIE-LABlab(41.36, 62.27, -45.15)
CIE-LCHlch(41.36, 76.92, 324.06°)
OKLaboklab(52.18% 0.166 -0.1261)
OKLCHoklch(52.18% 0.208 322.8)
XYZxyz(22.5433, 12.0889, 40.6731)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2CAD #3BAD2C
analogous
#5D2CAD #9E2CAD #AD2C7C
triadic
#9E2CAD #AD9E2C #2CAD9E
tetradic
#9E2CAD #AD5D2C #3BAD2C #2C7CAD
square
#9E2CAD #AD5D2C #3BAD2C #2C7CAD
split-complementary
#9E2CAD #7CAD2C #2CAD5D
monochromatic
#45134B #71207C #9E2CAD #C046D0 #D177DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2CAD#FFFFFF#000000##FFFFFF
##9E2CAD1.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)
#0059B1
Deuteranopia (green-blind)
#4066AA
Tritanopia (blue-blind)
#A0446B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2cad;
/* rgb */ color: rgb(158, 44, 173);
/* oklch */ color: oklch(52.2% 0.208 322.8);
Tailwind
colors: {
  custom: {
    50: '#be71c6',
    500: '#9e2cad',
    950: '#000000',
  },
}
SCSS
$custom: #9e2cad;
$custom-light: #be71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2cad",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 293.023,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.20846,
    "h": 322.8
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#9E2CAD
secondary
#7AC471
accent
#E34557
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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