#9D54DC#9D54DC

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

Color values

HEX#9D54DC
RGBrgb(157, 84, 220)
HSLhsl(272, 66%, 60%)
HSVhsv(272, 62%, 86%)
CMYKcmyk(28.6%, 61.8%, 0%, 13.7%)
CIE-LABlab(50.31, 54.59, -58.06)
CIE-LCHlch(50.31, 79.70, 313.24°)
OKLaboklab(59.52% 0.1186 -0.1642)
OKLCHoklch(59.52% 0.203 305.8)
XYZxyz(29.9904, 18.6763, 69.7212)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D54DC #93DC54
analogous
#5954DC #9D54DC #DC54D7
triadic
#9D54DC #DC9D54 #54DC9D
tetradic
#9D54DC #DC5954 #93DC54 #54D7DC
square
#9D54DC #DC5954 #93DC54 #54D7DC
split-complementary
#9D54DC #D7DC54 #54DC59
monochromatic
#5F1F97 #7F29CA #9D54DC #BA87E6 #D7BAF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D54DC#FFFFFF#000000##000000
##9D54DC1.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)
#0075E0
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#927090
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d54dc;
/* rgb */ color: rgb(157, 84, 220);
/* oklch */ color: oklch(59.5% 0.203 305.8);
Tailwind
colors: {
  custom: {
    50: '#be88e8',
    500: '#9d54dc',
    950: '#000000',
  },
}
SCSS
$custom: #9d54dc;
$custom-light: #be88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d54dc",
  "rgb": {
    "r": 157,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 272.206,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59516,
    "c": 0.20262,
    "h": 305.8
  },
  "luminance": 0.18676
}

Semantic roles & 50–950 ramp

primary
#9D54DC
secondary
#C4E0AC
accent
#E93F8E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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