#9954DC#9954DC

#9954DC is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.202 H 304.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9954DC
RGBrgb(153, 84, 220)
HSLhsl(270, 66%, 60%)
HSVhsv(270, 62%, 86%)
CMYKcmyk(30.5%, 61.8%, 0%, 13.7%)
CIE-LABlab(49.83, 53.70, -58.85)
CIE-LCHlch(49.83, 79.66, 312.38°)
OKLaboklab(59.07% 0.1135 -0.1667)
OKLCHoklch(59.07% 0.202 304.2)
XYZxyz(29.2226, 18.2804, 69.6852)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9954DC #97DC54
analogous
#5554DC #9954DC #DC54DB
triadic
#9954DC #DC9954 #54DC99
tetradic
#9954DC #DC5554 #97DC54 #54DBDC
square
#9954DC #DC5554 #97DC54 #54DBDC
split-complementary
#9954DC #DBDC54 #54DC55
monochromatic
#5C1F97 #7B29CA #9954DC #B787E6 #D6BAF1

Accessibility & contrast

On white

4.51
#9954DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9954DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9954DC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9954DC#FFFFFF#000000##000000
##9954DC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3176D9
Tritanopia (blue-blind)
#8D7090
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9954dc;
/* rgb */ color: rgb(153, 84, 220);
/* oklch */ color: oklch(59.1% 0.202 304.2);
Tailwind
colors: {
  custom: {
    50: '#bb88e8',
    500: '#9954dc',
    950: '#000000',
  },
}
SCSS
$custom: #9954dc;
$custom-light: #bb88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9954dc",
  "rgb": {
    "r": 153,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 270.441,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5907,
    "c": 0.20163,
    "h": 304.2
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#9954DC
secondary
#C6E0AC
accent
#E93F93
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9954DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9954DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva