#9E3ACC#9E3ACC

#9E3ACC is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.220 H 312.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9E3ACC
RGBrgb(158, 58, 204)
HSLhsl(281, 59%, 51%)
HSVhsv(281, 72%, 80%)
CMYKcmyk(22.5%, 71.6%, 0%, 20%)
CIE-LABlab(45.16, 63.07, -57.19)
CIE-LCHlch(45.16, 85.14, 317.80°)
OKLaboklab(55.52% 0.1495 -0.1615)
OKLCHoklch(55.52% 0.22 312.8)
XYZxyz(26.5107, 14.6556, 58.5473)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3ACC #68CC3A
analogous
#553ACC #9E3ACC #CC3AB1
triadic
#9E3ACC #CC9E3A #3ACC9E
tetradic
#9E3ACC #CC553A #68CC3A #3AB1CC
square
#9E3ACC #CC553A #68CC3A #3AB1CC
split-complementary
#9E3ACC #B1CC3A #3ACC55
monochromatic
#551D6F #7A29A0 #9E3ACC #B66BD9 #CE9BE5

Accessibility & contrast

On white

5.34
#9E3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9E3ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3ACC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3ACC#FFFFFF#000000##FFFFFF
##9E3ACC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#995A80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e3acc;
/* rgb */ color: rgb(158, 58, 204);
/* oklch */ color: oklch(55.5% 0.220 312.8);
Tailwind
colors: {
  custom: {
    50: '#bf79dc',
    500: '#9e3acc',
    950: '#000000',
  },
}
SCSS
$custom: #9e3acc;
$custom-light: #bf79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3acc",
  "rgb": {
    "r": 158,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 281.096,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.22012,
    "h": 312.8
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#9E3ACC
secondary
#A5D191
accent
#E24677
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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