#9E2EB6#9E2EB6

#9E2EB6 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.214 H 319.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9E2EB6
RGBrgb(158, 46, 182)
HSLhsl(289, 60%, 45%)
HSVhsv(289, 75%, 71%)
CMYKcmyk(13.2%, 74.7%, 0%, 28.6%)
CIE-LABlab(42.16, 63.23, -49.19)
CIE-LCHlch(42.16, 80.11, 322.12°)
OKLaboklab(52.93% 0.1634 -0.138)
OKLCHoklch(52.93% 0.214 319.8)
XYZxyz(23.5200, 12.6017, 45.4404)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EB6 #46B62E
analogous
#5A2EB6 #9E2EB6 #B62E8A
triadic
#9E2EB6 #B69E2E #2EB69E
tetradic
#9E2EB6 #B65A2E #46B62E #2E8AB6
square
#9E2EB6 #B65A2E #46B62E #2E8AB6
split-complementary
#9E2EB6 #8AB62E #2EB65A
monochromatic
#491554 #742285 #9E2EB6 #BB4FD2 #CE80DF

Accessibility & contrast

On white

5.97
#9E2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9E2EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EB6
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EB6#FFFFFF#000000##FFFFFF
##9E2EB61.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#3A67B3
Tritanopia (blue-blind)
#9E4A70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e2eb6;
/* rgb */ color: rgb(158, 46, 182);
/* oklch */ color: oklch(52.9% 0.214 319.8);
Tailwind
colors: {
  custom: {
    50: '#bf73cc',
    500: '#9e2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #9e2eb6;
$custom-light: #bf73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2eb6",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 289.412,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52928,
    "c": 0.21387,
    "h": 319.8
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#9E2EB6
secondary
#86C878
accent
#E34561
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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