#9E2BAE#9E2BAE

#9E2BAE is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.210 H 322.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9E2BAE
RGBrgb(158, 43, 174)
HSLhsl(293, 60%, 43%)
HSVhsv(293, 75%, 68%)
CMYKcmyk(9.2%, 75.3%, 0%, 31.8%)
CIE-LABlab(41.30, 62.79, -45.83)
CIE-LCHlch(41.30, 77.73, 323.87°)
OKLaboklab(52.16% 0.1668 -0.1281)
OKLCHoklch(52.16% 0.21 322.5)
XYZxyz(22.6036, 12.0542, 41.1723)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2BAE #3BAE2B
analogous
#5D2BAE #9E2BAE #AE2B7C
triadic
#9E2BAE #AE9E2B #2BAE9E
tetradic
#9E2BAE #AE5D2B #3BAE2B #2B7CAE
square
#9E2BAE #AE5D2B #3BAE2B #2B7CAE
split-complementary
#9E2BAE #7CAE2B #2BAE5D
monochromatic
#45134C #711F7D #9E2BAE #C045D1 #D176DD

Accessibility & contrast

On white

6.16
#9E2BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9E2BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2BAE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2BAE#FFFFFF#000000##FFFFFF
##9E2BAE1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#3F66AB
Tritanopia (blue-blind)
#A0446B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e2bae;
/* rgb */ color: rgb(158, 43, 174);
/* oklch */ color: oklch(52.2% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#bf71c7',
    500: '#9e2bae',
    950: '#000000',
  },
}
SCSS
$custom: #9e2bae;
$custom-light: #bf71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2bae",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 292.672,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.21033,
    "h": 322.5
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#9E2BAE
secondary
#7AC570
accent
#E44458
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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