#9D54DD#9D54DD

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

Color values

HEX#9D54DD
RGBrgb(157, 84, 221)
HSLhsl(272, 67%, 60%)
HSVhsv(272, 62%, 87%)
CMYKcmyk(29%, 62%, 0%, 13.3%)
CIE-LABlab(50.37, 54.82, -58.53)
CIE-LCHlch(50.37, 80.20, 313.13°)
OKLaboklab(59.58% 0.1186 -0.1656)
OKLCHoklch(59.58% 0.204 305.6)
XYZxyz(30.1233, 18.7294, 70.4208)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D54DD #94DD54
analogous
#5954DD #9D54DD #DD54D8
triadic
#9D54DD #DD9D54 #54DD9D
tetradic
#9D54DD #DD5954 #94DD54 #54D8DD
square
#9D54DD #DD5954 #94DD54 #54D8DD
split-complementary
#9D54DD #D8DD54 #54DD59
monochromatic
#5F1E98 #7F28CB #9D54DD #BA87E7 #D8BAF1

Accessibility & contrast

On white

4.42
#9D54DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9D54DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D54DD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D54DD#FFFFFF#000000##000000
##9D54DD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d54dd;
/* rgb */ color: rgb(157, 84, 221);
/* oklch */ color: oklch(59.6% 0.204 305.6);
Tailwind
colors: {
  custom: {
    50: '#be88e8',
    500: '#9d54dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d54dd;
$custom-light: #be88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d54dd",
  "rgb": {
    "r": 157,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 271.971,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.20369,
    "h": 305.6
  },
  "luminance": 0.18729
}

Semantic roles & 50–950 ramp

primary
#9D54DD
secondary
#C5E1AC
accent
#EA3E8E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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