#9E2BB1#9E2BB1

#9E2BB1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.213 H 321.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9E2BB1
RGBrgb(158, 43, 177)
HSLhsl(291, 61%, 43%)
HSVhsv(291, 76%, 69%)
CMYKcmyk(10.7%, 75.7%, 0%, 30.6%)
CIE-LABlab(41.49, 63.33, -47.31)
CIE-LCHlch(41.49, 79.05, 323.24°)
OKLaboklab(52.35% 0.1666 -0.1324)
OKLCHoklch(52.35% 0.213 321.5)
XYZxyz(22.8994, 12.1725, 42.7298)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BB1 #3EB12B
analogous
#5B2BB1 #9E2BB1 #B12B81
triadic
#9E2BB1 #B19E2B #2BB19E
tetradic
#9E2BB1 #B15B2B #3EB12B #2B81B1
square
#9E2BB1 #B15B2B #3EB12B #2B81B1
split-complementary
#9E2BB1 #81B12B #2BB15B
monochromatic
#46134F #721F80 #9E2BB1 #BF47D2 #D078DE

Accessibility & contrast

On white

6.11
#9E2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9E2BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BB1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BB1#FFFFFF#000000##FFFFFF
##9E2BB11.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#9F466D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2bb1;
/* rgb */ color: rgb(158, 43, 177);
/* oklch */ color: oklch(52.4% 0.213 321.5);
Tailwind
colors: {
  custom: {
    50: '#bf71c9',
    500: '#9e2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bb1;
$custom-light: #bf71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bb1",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 291.493,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.2128,
    "h": 321.5
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#9E2BB1
secondary
#7EC672
accent
#E4445A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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