#9E54DB#9E54DB

#9E54DB is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.202 H 306.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9E54DB
RGBrgb(158, 84, 219)
HSLhsl(273, 65%, 59%)
HSVhsv(273, 62%, 86%)
CMYKcmyk(27.9%, 61.6%, 0%, 14.1%)
CIE-LABlab(50.36, 54.59, -57.40)
CIE-LCHlch(50.36, 79.21, 313.56°)
OKLaboklab(59.56% 0.12 -0.1623)
OKLCHoklch(59.56% 0.202 306.5)
XYZxyz(30.0543, 18.7245, 69.0350)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E54DB #91DB54
analogous
#5B54DB #9E54DB #DB54D4
triadic
#9E54DB #DB9E54 #54DB9E
tetradic
#9E54DB #DB5B54 #91DB54 #54D4DB
square
#9E54DB #DB5B54 #91DB54 #54D4DB
split-complementary
#9E54DB #D4DB54 #54DB5B
monochromatic
#601F95 #802AC8 #9E54DB #BB87E6 #D7B9F0

Accessibility & contrast

On white

4.43
#9E54DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9E54DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E54DB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E54DB#FFFFFF#000000##000000
##9E54DB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0175DF
Deuteranopia (green-blind)
#3978D8
Tritanopia (blue-blind)
#946F90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e54db;
/* rgb */ color: rgb(158, 84, 219);
/* oklch */ color: oklch(59.6% 0.202 306.5);
Tailwind
colors: {
  custom: {
    50: '#bf88e7',
    500: '#9e54db',
    950: '#000000',
  },
}
SCSS
$custom: #9e54db;
$custom-light: #bf88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e54db",
  "rgb": {
    "r": 158,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 272.889,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59563,
    "c": 0.20179,
    "h": 306.5
  },
  "luminance": 0.18724
}

Semantic roles & 50–950 ramp

primary
#9E54DB
secondary
#C3E0AB
accent
#E8408C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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