#9E2BB7#9E2BB7

#9E2BB7 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.218 H 319.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9E2BB7
RGBrgb(158, 43, 183)
HSLhsl(289, 62%, 44%)
HSVhsv(289, 77%, 72%)
CMYKcmyk(13.7%, 76.5%, 0%, 28.2%)
CIE-LABlab(41.87, 64.42, -50.24)
CIE-LCHlch(41.87, 81.69, 322.05°)
OKLaboklab(52.75% 0.1659 -0.141)
OKLCHoklch(52.75% 0.218 319.6)
XYZxyz(23.5106, 12.4169, 45.9489)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BB7 #44B72B
analogous
#582BB7 #9E2BB7 #B72B8A
triadic
#9E2BB7 #B79E2B #2BB79E
tetradic
#9E2BB7 #B7582B #44B72B #2B8AB7
square
#9E2BB7 #B7582B #44B72B #2B8AB7
split-complementary
#9E2BB7 #8AB72B #2BB758
monochromatic
#481454 #731F85 #9E2BB7 #BC4BD5 #CE7CE0

Accessibility & contrast

On white

6.03
#9E2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9E2BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BB7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BB7#FFFFFF#000000##FFFFFF
##9E2BB71.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3767B4
Tritanopia (blue-blind)
#9E4870
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e2bb7;
/* rgb */ color: rgb(158, 43, 183);
/* oklch */ color: oklch(52.7% 0.218 319.6);
Tailwind
colors: {
  custom: {
    50: '#bf71cd',
    500: '#9e2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bb7;
$custom-light: #bf71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bb7",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 289.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52746,
    "c": 0.21778,
    "h": 319.6
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#9E2BB7
secondary
#84C975
accent
#E54360
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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