#9D54DB#9D54DB

#9D54DB is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.202 H 306.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9D54DB
RGBrgb(157, 84, 219)
HSLhsl(272, 65%, 59%)
HSVhsv(272, 62%, 86%)
CMYKcmyk(28.3%, 61.6%, 0%, 14.1%)
CIE-LABlab(50.24, 54.36, -57.60)
CIE-LCHlch(50.24, 79.20, 313.35°)
OKLaboklab(59.45% 0.1187 -0.1629)
OKLCHoklch(59.45% 0.202 306.1)
XYZxyz(29.8584, 18.6235, 69.0258)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D54DB #92DB54
analogous
#5A54DB #9D54DB #DB54D6
triadic
#9D54DB #DB9D54 #54DB9D
tetradic
#9D54DB #DB5A54 #92DB54 #54D6DB
square
#9D54DB #DB5A54 #92DB54 #54D6DB
split-complementary
#9D54DB #D6DB54 #54DB5A
monochromatic
#5F1F95 #7F2AC8 #9D54DB #BA87E6 #D7B9F0

Accessibility & contrast

On white

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

On black

4.72
#9D54DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D54DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D54DB#FFFFFF#000000##000000
##9D54DB1.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#937090
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d54db;
/* rgb */ color: rgb(157, 84, 219);
/* oklch */ color: oklch(59.5% 0.202 306.1);
Tailwind
colors: {
  custom: {
    50: '#be88e7',
    500: '#9d54db',
    950: '#000000',
  },
}
SCSS
$custom: #9d54db;
$custom-light: #be88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d54db",
  "rgb": {
    "r": 157,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 272.444,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5945,
    "c": 0.20152,
    "h": 306.1
  },
  "luminance": 0.18623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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