#9E2BB3#9E2BB3

#9E2BB3 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.214 H 320.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9E2BB3
RGBrgb(158, 43, 179)
HSLhsl(291, 61%, 44%)
HSVhsv(291, 76%, 70%)
CMYKcmyk(11.7%, 76%, 0%, 29.8%)
CIE-LABlab(41.62, 63.69, -48.29)
CIE-LCHlch(41.62, 79.93, 322.83°)
OKLaboklab(52.48% 0.1664 -0.1353)
OKLCHoklch(52.48% 0.214 320.9)
XYZxyz(23.1002, 12.2528, 43.7874)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BB3 #40B32B
analogous
#5A2BB3 #9E2BB3 #B32B84
triadic
#9E2BB3 #B39E2B #2BB39E
tetradic
#9E2BB3 #B35A2B #40B32B #2B84B3
square
#9E2BB3 #B35A2B #40B32B #2B84B3
split-complementary
#9E2BB3 #84B32B #2BB35A
monochromatic
#471350 #721F82 #9E2BB3 #BE48D3 #CF79DF

Accessibility & contrast

On white

6.09
#9E2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9E2BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BB3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BB3#FFFFFF#000000##FFFFFF
##9E2BB31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3B66B0
Tritanopia (blue-blind)
#9F476E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e2bb3;
/* rgb */ color: rgb(158, 43, 179);
/* oklch */ color: oklch(52.5% 0.214 320.9);
Tailwind
colors: {
  custom: {
    50: '#bf71ca',
    500: '#9e2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bb3;
$custom-light: #bf71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bb3",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 290.735,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.21445,
    "h": 320.9
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#9E2BB3
secondary
#80C773
accent
#E4435C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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