#9E1BA1#9E1BA1

#9E1BA1 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.214 H 327.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9E1BA1
RGBrgb(158, 27, 161)
HSLhsl(299, 71%, 37%)
HSVhsv(299, 83%, 63%)
CMYKcmyk(1.9%, 83.2%, 0%, 36.9%)
CIE-LABlab(38.95, 65.07, -41.82)
CIE-LCHlch(38.95, 77.36, 327.27°)
OKLaboklab(50.23% 0.1802 -0.1163)
OKLCHoklch(50.23% 0.214 327.2)
XYZxyz(20.9252, 10.6277, 34.6605)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1BA1 #1EA11B
analogous
#5B1BA1 #9E1BA1 #A11B61
triadic
#9E1BA1 #A19E1B #1BA19E
tetradic
#9E1BA1 #A15B1B #1EA11B #1B61A1
square
#9E1BA1 #A15B1B #1EA11B #1B61A1
split-complementary
#9E1BA1 #61A11B #1BA15B
monochromatic
#370938 #6B126D #9E1BA1 #D124D5 #DF54E2

Accessibility & contrast

On white

6.72
#9E1BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9E1BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1BA1
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1BA1#FFFFFF#000000##FFFFFF
##9E1BA11.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#42619E
Tritanopia (blue-blind)
#A33560
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e1ba1;
/* rgb */ color: rgb(158, 27, 161);
/* oklch */ color: oklch(50.2% 0.214 327.2);
Tailwind
colors: {
  custom: {
    50: '#bf6bbd',
    500: '#9e1ba1',
    950: '#000000',
  },
}
SCSS
$custom: #9e1ba1;
$custom-light: #bf6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1ba1",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 298.657,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.50234,
    "c": 0.21447,
    "h": 327.2
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#9E1BA1
secondary
#55C552
accent
#EE3A3E
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9E1BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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