#9E54DD#9E54DD

#9E54DD is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.204 H 306.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9E54DD
RGBrgb(158, 84, 221)
HSLhsl(272, 67%, 60%)
HSVhsv(272, 62%, 87%)
CMYKcmyk(28.5%, 62%, 0%, 13.3%)
CIE-LABlab(50.49, 55.05, -58.33)
CIE-LCHlch(50.49, 80.21, 313.34°)
OKLaboklab(59.69% 0.1199 -0.165)
OKLCHoklch(59.69% 0.204 306)
XYZxyz(30.3192, 18.8305, 70.4300)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E54DD #93DD54
analogous
#5A54DD #9E54DD #DD54D7
triadic
#9E54DD #DD9E54 #54DD9E
tetradic
#9E54DD #DD5A54 #93DD54 #54D7DD
square
#9E54DD #DD5A54 #93DD54 #54D7DD
split-complementary
#9E54DD #D7DD54 #54DD5A
monochromatic
#601E98 #8028CB #9E54DD #BB87E7 #D8BAF1

Accessibility & contrast

On white

4.41
#9E54DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9E54DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E54DD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E54DD#FFFFFF#000000##000000
##9E54DD1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#3679DA
Tritanopia (blue-blind)
#937091
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e54dd;
/* rgb */ color: rgb(158, 84, 221);
/* oklch */ color: oklch(59.7% 0.204 306.0);
Tailwind
colors: {
  custom: {
    50: '#bf88e8',
    500: '#9e54dd',
    950: '#000000',
  },
}
SCSS
$custom: #9e54dd;
$custom-light: #bf88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e54dd",
  "rgb": {
    "r": 158,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 272.409,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59694,
    "c": 0.20395,
    "h": 306
  },
  "luminance": 0.1883
}

Semantic roles & 50–950 ramp

primary
#9E54DD
secondary
#C4E1AC
accent
#EA3E8D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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