#9E2EBA#9E2EBA

#9E2EBA is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.217 H 318.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9E2EBA
RGBrgb(158, 46, 186)
HSLhsl(288, 60%, 45%)
HSVhsv(288, 75%, 73%)
CMYKcmyk(15.1%, 75.3%, 0%, 27.1%)
CIE-LABlab(42.41, 63.98, -51.13)
CIE-LCHlch(42.41, 81.90, 321.37°)
OKLaboklab(53.19% 0.163 -0.1436)
OKLCHoklch(53.19% 0.217 318.6)
XYZxyz(23.9393, 12.7694, 47.6486)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2EBA #4ABA2E
analogous
#582EBA #9E2EBA #BA2E90
triadic
#9E2EBA #BA9E2E #2EBA9E
tetradic
#9E2EBA #BA582E #4ABA2E #2E90BA
square
#9E2EBA #BA582E #4ABA2E #2E90BA
split-complementary
#9E2EBA #90BA2E #2EBA58
monochromatic
#4B1658 #742289 #9E2EBA #BA51D4 #CD82E0

Accessibility & contrast

On white

5.91
#9E2EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2EBA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2EBA#FFFFFF#000000##FFFFFF
##9E2EBA1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#3668B7
Tritanopia (blue-blind)
#9D4B72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9e2eba;
/* rgb */ color: rgb(158, 46, 186);
/* oklch */ color: oklch(53.2% 0.217 318.6);
Tailwind
colors: {
  custom: {
    50: '#bf73cf',
    500: '#9e2eba',
    950: '#000000',
  },
}
SCSS
$custom: #9e2eba;
$custom-light: #bf73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2eba",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 288,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.21726,
    "h": 318.6
  },
  "luminance": 0.12768
}

Semantic roles & 50–950 ramp

primary
#9E2EBA
secondary
#8AC97B
accent
#E34464
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E2EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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