#9956DC#9956DC

#9956DC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.3% C 0.199 H 304.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9956DC
RGBrgb(153, 86, 220)
HSLhsl(270, 66%, 60%)
HSVhsv(270, 61%, 86%)
CMYKcmyk(30.5%, 60.9%, 0%, 13.7%)
CIE-LABlab(50.21, 52.68, -58.24)
CIE-LCHlch(50.21, 78.53, 312.13°)
OKLaboklab(59.34% 0.1111 -0.1649)
OKLCHoklch(59.34% 0.199 304)
XYZxyz(29.3800, 18.5953, 69.7377)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9956DC #99DC56
analogous
#5656DC #9956DC #DC56DC
triadic
#9956DC #DC9956 #56DC99
tetradic
#9956DC #DC5656 #99DC56 #56DCDC
square
#9956DC #DC5656 #99DC56 #56DCDC
split-complementary
#9956DC #DCDC56 #56DC56
monochromatic
#5C2098 #7A2ACB #9956DC #B889E6 #D6BBF1

Accessibility & contrast

On white

4.45
#9956DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9956DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9956DC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9956DC#FFFFFF#000000##000000
##9956DC1.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)
#0076E0
Deuteranopia (green-blind)
#3477D9
Tritanopia (blue-blind)
#8D7291
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9956dc;
/* rgb */ color: rgb(153, 86, 220);
/* oklch */ color: oklch(59.3% 0.199 304.0);
Tailwind
colors: {
  custom: {
    50: '#bb89e8',
    500: '#9956dc',
    950: '#000000',
  },
}
SCSS
$custom: #9956dc;
$custom-light: #bb89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9956dc",
  "rgb": {
    "r": 153,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 270,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.19885,
    "h": 304
  },
  "luminance": 0.18595
}

Semantic roles & 50–950 ramp

primary
#9956DC
secondary
#C7E1AD
accent
#E93F94
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9956DC

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

Preview Lab → · Contrast checker → · Palette generator →

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