#9C54DC#9C54DC

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

Color values

HEX#9C54DC
RGBrgb(156, 84, 220)
HSLhsl(272, 66%, 60%)
HSVhsv(272, 62%, 86%)
CMYKcmyk(29.1%, 61.8%, 0%, 13.7%)
CIE-LABlab(50.19, 54.37, -58.26)
CIE-LCHlch(50.19, 79.69, 313.02°)
OKLaboklab(59.4% 0.1174 -0.1649)
OKLCHoklch(59.4% 0.202 305.4)
XYZxyz(29.7961, 18.5761, 69.7121)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C54DC #94DC54
analogous
#5854DC #9C54DC #DC54D8
triadic
#9C54DC #DC9C54 #54DC9C
tetradic
#9C54DC #DC5854 #94DC54 #54D8DC
square
#9C54DC #DC5854 #94DC54 #54D8DC
split-complementary
#9C54DC #D8DC54 #54DC58
monochromatic
#5E1F97 #7E29CA #9C54DC #B987E6 #D7BAF1

Accessibility & contrast

On white

4.45
#9C54DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C54DC#FFFFFF#000000##000000
##9C54DC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3578D9
Tritanopia (blue-blind)
#917090
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9c54dc;
/* rgb */ color: rgb(156, 84, 220);
/* oklch */ color: oklch(59.4% 0.202 305.4);
Tailwind
colors: {
  custom: {
    50: '#bd88e8',
    500: '#9c54dc',
    950: '#000000',
  },
}
SCSS
$custom: #9c54dc;
$custom-light: #bd88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c54dc",
  "rgb": {
    "r": 156,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 271.765,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59404,
    "c": 0.20236,
    "h": 305.4
  },
  "luminance": 0.18576
}

Semantic roles & 50–950 ramp

primary
#9C54DC
secondary
#C4E0AC
accent
#E93F8F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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