#9E3AC8#9E3AC8

#9E3AC8 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.216 H 313.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9E3AC8
RGBrgb(158, 58, 200)
HSLhsl(282, 56%, 51%)
HSVhsv(282, 71%, 78%)
CMYKcmyk(21%, 71%, 0%, 21.6%)
CIE-LABlab(44.89, 62.25, -55.30)
CIE-LCHlch(44.89, 83.27, 318.38°)
OKLaboklab(55.25% 0.15 -0.156)
OKLCHoklch(55.25% 0.216 313.9)
XYZxyz(26.0372, 14.4662, 56.0531)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3AC8 #64C83A
analogous
#573AC8 #9E3AC8 #C83AAB
triadic
#9E3AC8 #C89E3A #3AC89E
tetradic
#9E3AC8 #C8573A #64C83A #3AABC8
square
#9E3AC8 #C8573A #64C83A #3AABC8
split-complementary
#9E3AC8 #ABC83A #3AC857
monochromatic
#531E6A #792B9A #9E3AC8 #B66AD5 #CD9AE3

Accessibility & contrast

On white

5.39
#9E3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9E3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3AC8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3AC8#FFFFFF#000000##FFFFFF
##9E3AC81.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#316DC5
Tritanopia (blue-blind)
#9A587D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e3ac8;
/* rgb */ color: rgb(158, 58, 200);
/* oklch */ color: oklch(55.2% 0.216 313.9);
Tailwind
colors: {
  custom: {
    50: '#bf79d9',
    500: '#9e3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #9e3ac8;
$custom-light: #bf79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3ac8",
  "rgb": {
    "r": 158,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 282.254,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55245,
    "c": 0.21641,
    "h": 313.9
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#9E3AC8
secondary
#A2CE8F
accent
#E04875
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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