#9E2EB7#9E2EB7

#9E2EB7 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.215 H 319.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9E2EB7
RGBrgb(158, 46, 183)
HSLhsl(289, 60%, 45%)
HSVhsv(289, 75%, 72%)
CMYKcmyk(13.7%, 74.9%, 0%, 28.2%)
CIE-LABlab(42.22, 63.42, -49.68)
CIE-LCHlch(42.22, 80.56, 321.93°)
OKLaboklab(52.99% 0.1633 -0.1394)
OKLCHoklch(52.99% 0.215 319.5)
XYZxyz(23.6237, 12.6432, 45.9866)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EB7 #47B72E
analogous
#592EB7 #9E2EB7 #B72E8C
triadic
#9E2EB7 #B79E2E #2EB79E
tetradic
#9E2EB7 #B7592E #47B72E #2E8CB7
square
#9E2EB7 #B7592E #47B72E #2E8CB7
split-complementary
#9E2EB7 #8CB72E #2EB759
monochromatic
#4A1555 #742286 #9E2EB7 #BB4FD3 #CE80DF

Accessibility & contrast

On white

5.95
#9E2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9E2EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EB7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EB7#FFFFFF#000000##FFFFFF
##9E2EB71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3967B4
Tritanopia (blue-blind)
#9E4A71
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2eb7;
/* rgb */ color: rgb(158, 46, 183);
/* oklch */ color: oklch(53.0% 0.215 319.5);
Tailwind
colors: {
  custom: {
    50: '#bf73cd',
    500: '#9e2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #9e2eb7;
$custom-light: #bf73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2eb7",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 289.051,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52993,
    "c": 0.21471,
    "h": 319.5
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#9E2EB7
secondary
#87C879
accent
#E34562
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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