#9E2DA0#9E2DA0

#9E2DA0 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.197 H 327.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9E2DA0
RGBrgb(158, 45, 160)
HSLhsl(299, 56%, 40%)
HSVhsv(299, 72%, 63%)
CMYKcmyk(1.2%, 71.9%, 0%, 37.3%)
CIE-LABlab(40.71, 59.65, -38.41)
CIE-LCHlch(40.71, 70.95, 327.22°)
OKLaboklab(51.47% 0.1655 -0.1065)
OKLCHoklch(51.47% 0.197 327.2)
XYZxyz(21.3838, 11.6854, 34.3801)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2DA0 #2FA02D
analogous
#652DA0 #9E2DA0 #A02D68
triadic
#9E2DA0 #A09E2D #2DA09E
tetradic
#9E2DA0 #A0652D #2FA02D #2D68A0
square
#9E2DA0 #A0652D #2FA02D #2D68A0
split-complementary
#9E2DA0 #68A02D #2DA065
monochromatic
#401240 #6F2070 #9E2DA0 #C741C9 #D570D7

Accessibility & contrast

On white

6.29
#9E2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9E2DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2DA0
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2DA0#FFFFFF#000000##FFFFFF
##9E2DA01.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A3
Deuteranopia (green-blind)
#4A659D
Tritanopia (blue-blind)
#A33F64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e2da0;
/* rgb */ color: rgb(158, 45, 160);
/* oklch */ color: oklch(51.5% 0.197 327.2);
Tailwind
colors: {
  custom: {
    50: '#be71bc',
    500: '#9e2da0',
    950: '#000000',
  },
}
SCSS
$custom: #9e2da0;
$custom-light: #be71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2da0",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 298.957,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.19677,
    "h": 327.2
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#9E2DA0
secondary
#6CBE6B
accent
#DF484B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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