#9E2EB5#9E2EB5

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

Color values

HEX#9E2EB5
RGBrgb(158, 46, 181)
HSLhsl(290, 59%, 45%)
HSVhsv(290, 75%, 71%)
CMYKcmyk(12.7%, 74.6%, 0%, 29%)
CIE-LABlab(42.09, 63.05, -48.70)
CIE-LCHlch(42.09, 79.67, 322.32°)
OKLaboklab(52.86% 0.1635 -0.1365)
OKLCHoklch(52.86% 0.213 320.1)
XYZxyz(23.4170, 12.5605, 44.8981)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EB5 #45B52E
analogous
#5B2EB5 #9E2EB5 #B52E88
triadic
#9E2EB5 #B59E2E #2EB59E
tetradic
#9E2EB5 #B55B2E #45B52E #2E88B5
square
#9E2EB5 #B55B2E #45B52E #2E88B5
split-complementary
#9E2EB5 #88B52E #2EB55B
monochromatic
#491553 #732284 #9E2EB5 #BC4ED2 #CE7FDE

Accessibility & contrast

On white

5.98
#9E2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9E2EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2EB5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EB5#FFFFFF#000000##FFFFFF
##9E2EB51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3B67B2
Tritanopia (blue-blind)
#9F4970
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e2eb5;
/* rgb */ color: rgb(158, 46, 181);
/* oklch */ color: oklch(52.9% 0.213 320.1);
Tailwind
colors: {
  custom: {
    50: '#bf73cc',
    500: '#9e2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #9e2eb5;
$custom-light: #bf73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2eb5",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 289.778,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.21302,
    "h": 320.1
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#9E2EB5
secondary
#85C778
accent
#E34560
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9E2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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