#9E5ABA#9E5ABA

#9E5ABA is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.4% C 0.157 H 315.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9E5ABA
RGBrgb(158, 90, 186)
HSLhsl(283, 41%, 54%)
HSVhsv(283, 52%, 73%)
CMYKcmyk(15.1%, 51.6%, 0%, 27.1%)
CIE-LABlab(49.65, 44.15, -39.60)
CIE-LCHlch(49.65, 59.31, 318.11°)
OKLaboklab(58.44% 0.1112 -0.1103)
OKLCHoklch(58.44% 0.157 315.2)
XYZxyz(26.6183, 18.1274, 48.5416)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5ABA #76BA5A
analogous
#6E5ABA #9E5ABA #BA5AA6
triadic
#9E5ABA #BA9E5A #5ABA9E
tetradic
#9E5ABA #BA6E5A #76BA5A #5AA6BA
square
#9E5ABA #BA6E5A #76BA5A #5AA6BA
split-complementary
#9E5ABA #A6BA5A #5ABA6E
monochromatic
#5A2D6C #7E3F97 #9E5ABA #B785CC #D1B0DE

Accessibility & contrast

On white

4.54
#9E5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9E5ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5ABA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5ABA#FFFFFF#000000##000000
##9E5ABA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#9C6982
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e5aba;
/* rgb */ color: rgb(158, 90, 186);
/* oklch */ color: oklch(58.4% 0.157 315.2);
Tailwind
colors: {
  custom: {
    50: '#bd8bcf',
    500: '#9e5aba',
    950: '#000000',
  },
}
SCSS
$custom: #9e5aba;
$custom-light: #bd8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5aba",
  "rgb": {
    "r": 158,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 282.5,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58437,
    "c": 0.15658,
    "h": 315.2
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#9E5ABA
secondary
#AFCCA3
accent
#D1577A
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9E5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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