#9E2BAB#9E2BAB

#9E2BAB is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.208 H 323.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9E2BAB
RGBrgb(158, 43, 171)
HSLhsl(294, 60%, 42%)
HSVhsv(294, 75%, 67%)
CMYKcmyk(7.6%, 74.9%, 0%, 32.9%)
CIE-LABlab(41.12, 62.25, -44.34)
CIE-LCHlch(41.12, 76.43, 324.54°)
OKLaboklab(51.97% 0.167 -0.1238)
OKLCHoklch(51.97% 0.208 323.5)
XYZxyz(22.3144, 11.9385, 39.6492)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BAB #38AB2B
analogous
#5E2BAB #9E2BAB #AB2B78
triadic
#9E2BAB #AB9E2B #2BAB9E
tetradic
#9E2BAB #AB5E2B #38AB2B #2B78AB
square
#9E2BAB #AB5E2B #38AB2B #2B78AB
split-complementary
#9E2BAB #78AB2B #2BAB5E
monochromatic
#441249 #711F7A #9E2BAB #C243D0 #D274DC

Accessibility & contrast

On white

6.20
#9E2BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9E2BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BAB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BAB#FFFFFF#000000##FFFFFF
##9E2BAB1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#4165A8
Tritanopia (blue-blind)
#A14369
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2bab;
/* rgb */ color: rgb(158, 43, 171);
/* oklch */ color: oklch(52.0% 0.208 323.5);
Tailwind
colors: {
  custom: {
    50: '#be71c4',
    500: '#9e2bab',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bab;
$custom-light: #be71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bab",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 293.906,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5197,
    "c": 0.20787,
    "h": 323.5
  },
  "luminance": 0.11937
}

Semantic roles & 50–950 ramp

primary
#9E2BAB
secondary
#77C46E
accent
#E34555
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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