#9E54D8#9E54D8

#9E54D8 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.4% C 0.199 H 307.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9E54D8
RGBrgb(158, 84, 216)
HSLhsl(274, 63%, 59%)
HSVhsv(274, 61%, 85%)
CMYKcmyk(26.9%, 61.1%, 0%, 15.3%)
CIE-LABlab(50.18, 53.90, -55.99)
CIE-LCHlch(50.18, 77.72, 313.91°)
OKLaboklab(59.37% 0.1201 -0.1581)
OKLCHoklch(59.37% 0.199 307.2)
XYZxyz(29.6630, 18.5680, 66.9737)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E54D8 #8ED854
analogous
#5C54D8 #9E54D8 #D854D0
triadic
#9E54D8 #D89E54 #54D89E
tetradic
#9E54D8 #D85C54 #8ED854 #54D0D8
square
#9E54D8 #D85C54 #8ED854 #54D0D8
split-complementary
#9E54D8 #D0D854 #54D85C
monochromatic
#602191 #802CC2 #9E54D8 #BA86E3 #D7B8EF

Accessibility & contrast

On white

4.46
#9E54D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9E54D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E54D8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E54D8#FFFFFF#000000##000000
##9E54D81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F75DC
Deuteranopia (green-blind)
#3C78D5
Tritanopia (blue-blind)
#956E8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e54d8;
/* rgb */ color: rgb(158, 84, 216);
/* oklch */ color: oklch(59.4% 0.199 307.2);
Tailwind
colors: {
  custom: {
    50: '#be88e5',
    500: '#9e54d8',
    950: '#000000',
  },
}
SCSS
$custom: #9e54d8;
$custom-light: #be88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e54d8",
  "rgb": {
    "r": 158,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 273.636,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59369,
    "c": 0.19854,
    "h": 307.2
  },
  "luminance": 0.18568
}

Semantic roles & 50–950 ramp

primary
#9E54D8
secondary
#C1DEAA
accent
#E6428A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E54D8

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

Preview Lab → · Contrast checker → · Palette generator →

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