#9E54DA#9E54DA

#9E54DA is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.201 H 306.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9E54DA
RGBrgb(158, 84, 218)
HSLhsl(273, 64%, 59%)
HSVhsv(273, 61%, 85%)
CMYKcmyk(27.5%, 61.5%, 0%, 14.5%)
CIE-LABlab(50.30, 54.36, -56.93)
CIE-LCHlch(50.30, 78.71, 313.68°)
OKLaboklab(59.5% 0.12 -0.1609)
OKLCHoklch(59.5% 0.201 306.7)
XYZxyz(29.9231, 18.6720, 68.3438)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E54DA #90DA54
analogous
#5B54DA #9E54DA #DA54D3
triadic
#9E54DA #DA9E54 #54DA9E
tetradic
#9E54DA #DA5B54 #90DA54 #54D3DA
square
#9E54DA #DA5B54 #90DA54 #54D3DA
split-complementary
#9E54DA #D3DA54 #54DA5B
monochromatic
#602094 #812BC6 #9E54DA #BB86E5 #D7B9F0

Accessibility & contrast

On white

4.44
#9E54DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9E54DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E54DA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E54DA#FFFFFF#000000##000000
##9E54DA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0675DE
Deuteranopia (green-blind)
#3A78D7
Tritanopia (blue-blind)
#946F8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e54da;
/* rgb */ color: rgb(158, 84, 218);
/* oklch */ color: oklch(59.5% 0.201 306.7);
Tailwind
colors: {
  custom: {
    50: '#bf88e6',
    500: '#9e54da',
    950: '#000000',
  },
}
SCSS
$custom: #9e54da;
$custom-light: #bf88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e54da",
  "rgb": {
    "r": 158,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 273.134,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.20071,
    "h": 306.7
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

primary
#9E54DA
secondary
#C2DFAB
accent
#E7408B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E54DA

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

Preview Lab → · Contrast checker → · Palette generator →

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