#9E2BAA#9E2BAA

#9E2BAA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.207 H 323.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9E2BAA
RGBrgb(158, 43, 170)
HSLhsl(294, 60%, 42%)
HSVhsv(294, 75%, 67%)
CMYKcmyk(7.1%, 74.7%, 0%, 33.3%)
CIE-LABlab(41.06, 62.08, -43.84)
CIE-LCHlch(41.06, 76.00, 324.77°)
OKLaboklab(51.91% 0.1671 -0.1223)
OKLCHoklch(51.91% 0.207 323.8)
XYZxyz(22.2195, 11.9005, 39.1491)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BAA #37AA2B
analogous
#5F2BAA #9E2BAA #AA2B77
triadic
#9E2BAA #AA9E2B #2BAA9E
tetradic
#9E2BAA #AA5F2B #37AA2B #2B77AA
square
#9E2BAA #AA5F2B #37AA2B #2B77AA
split-complementary
#9E2BAA #77AA2B #2BAA5F
monochromatic
#431248 #711F79 #9E2BAA #C243CF #D274DC

Accessibility & contrast

On white

6.21
#9E2BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9E2BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BAA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BAA#FFFFFF#000000##FFFFFF
##9E2BAA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#4265A7
Tritanopia (blue-blind)
#A14269
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2baa;
/* rgb */ color: rgb(158, 43, 170);
/* oklch */ color: oklch(51.9% 0.207 323.8);
Tailwind
colors: {
  custom: {
    50: '#be71c4',
    500: '#9e2baa',
    950: '#000000',
  },
}
SCSS
$custom: #9e2baa;
$custom-light: #be71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2baa",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 294.331,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51908,
    "c": 0.20706,
    "h": 323.8
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#9E2BAA
secondary
#76C36E
accent
#E34554
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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