#9E3ABA#9E3ABA

#9E3ABA is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.204 H 318.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9E3ABA
RGBrgb(158, 58, 186)
HSLhsl(287, 52%, 48%)
HSVhsv(287, 69%, 73%)
CMYKcmyk(15.1%, 68.8%, 0%, 27.1%)
CIE-LABlab(44.00, 59.46, -48.58)
CIE-LCHlch(44.00, 76.78, 320.75°)
OKLaboklab(54.33% 0.1512 -0.1362)
OKLCHoklch(54.33% 0.204 318)
XYZxyz(24.4753, 13.8414, 47.8273)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3ABA #56BA3A
analogous
#5E3ABA #9E3ABA #BA3A96
triadic
#9E3ABA #BA9E3A #3ABA9E
tetradic
#9E3ABA #BA5E3A #56BA3A #3A96BA
square
#9E3ABA #BA5E3A #56BA3A #3A96BA
split-complementary
#9E3ABA #96BA3A #3ABA5E
monochromatic
#4F1D5D #762B8B #9E3ABA #B763CE #CC92DD

Accessibility & contrast

On white

5.57
#9E3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9E3ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3ABA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3ABA#FFFFFF#000000##FFFFFF
##9E3ABA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#3F6BB7
Tritanopia (blue-blind)
#9D5276
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e3aba;
/* rgb */ color: rgb(158, 58, 186);
/* oklch */ color: oklch(54.3% 0.204 318.0);
Tailwind
colors: {
  custom: {
    50: '#be78cf',
    500: '#9e3aba',
    950: '#000000',
  },
}
SCSS
$custom: #9e3aba;
$custom-light: #be78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3aba",
  "rgb": {
    "r": 158,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 286.875,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54326,
    "c": 0.20353,
    "h": 318
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#9E3ABA
secondary
#96C888
accent
#DC4C6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9E3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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