#9E1DA1#9E1DA1

#9E1DA1 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.213 H 327.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9E1DA1
RGBrgb(158, 29, 161)
HSLhsl(299, 69%, 37%)
HSVhsv(299, 82%, 63%)
CMYKcmyk(1.9%, 82%, 0%, 36.9%)
CIE-LABlab(39.11, 64.60, -41.56)
CIE-LCHlch(39.11, 76.82, 327.24°)
OKLaboklab(50.35% 0.1789 -0.1156)
OKLCHoklch(50.35% 0.213 327.1)
XYZxyz(20.9726, 10.7226, 34.6764)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1DA1 #20A11D
analogous
#5C1DA1 #9E1DA1 #A11D62
triadic
#9E1DA1 #A19E1D #1DA19E
tetradic
#9E1DA1 #A15C1D #20A11D #1D62A1
square
#9E1DA1 #A15C1D #20A11D #1D62A1
split-complementary
#9E1DA1 #62A11D #1DA15C
monochromatic
#380A39 #6B146D #9E1DA1 #D126D5 #DE58E1

Accessibility & contrast

On white

6.68
#9E1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9E1DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1DA1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1DA1#FFFFFF#000000##FFFFFF
##9E1DA11.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#42629E
Tritanopia (blue-blind)
#A33661
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e1da1;
/* rgb */ color: rgb(158, 29, 161);
/* oklch */ color: oklch(50.3% 0.213 327.1);
Tailwind
colors: {
  custom: {
    50: '#bf6bbd',
    500: '#9e1da1',
    950: '#000000',
  },
}
SCSS
$custom: #9e1da1;
$custom-light: #bf6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1da1",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 298.636,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5035,
    "c": 0.21295,
    "h": 327.1
  },
  "luminance": 0.10721
}

Semantic roles & 50–950 ramp

primary
#9E1DA1
secondary
#58C455
accent
#EC3C40
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9E1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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