#9E2EB9#9E2EB9

#9E2EB9 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.216 H 318.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9E2EB9
RGBrgb(158, 46, 185)
HSLhsl(288, 60%, 45%)
HSVhsv(288, 75%, 73%)
CMYKcmyk(14.6%, 75.1%, 0%, 27.5%)
CIE-LABlab(42.35, 63.79, -50.65)
CIE-LCHlch(42.35, 81.45, 321.55°)
OKLaboklab(53.13% 0.1631 -0.1422)
OKLCHoklch(53.13% 0.216 318.9)
XYZxyz(23.8333, 12.7270, 47.0907)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EB9 #49B92E
analogous
#582EB9 #9E2EB9 #B92E8F
triadic
#9E2EB9 #B99E2E #2EB99E
tetradic
#9E2EB9 #B9582E #49B92E #2E8FB9
square
#9E2EB9 #B9582E #49B92E #2E8FB9
split-complementary
#9E2EB9 #8FB92E #2EB958
monochromatic
#4A1657 #742288 #9E2EB9 #BA51D4 #CE82E0

Accessibility & contrast

On white

5.92
#9E2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9E2EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EB9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EB9#FFFFFF#000000##FFFFFF
##9E2EB91.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#3768B6
Tritanopia (blue-blind)
#9E4B72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2eb9;
/* rgb */ color: rgb(158, 46, 185);
/* oklch */ color: oklch(53.1% 0.216 318.9);
Tailwind
colors: {
  custom: {
    50: '#bf73cf',
    500: '#9e2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #9e2eb9;
$custom-light: #bf73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2eb9",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 288.345,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.21641,
    "h": 318.9
  },
  "luminance": 0.12726
}

Semantic roles & 50–950 ramp

primary
#9E2EB9
secondary
#89C97A
accent
#E34463
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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