#9D56DC#9D56DC

#9D56DC is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.8% C 0.200 H 305.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9D56DC
RGBrgb(157, 86, 220)
HSLhsl(272, 66%, 60%)
HSVhsv(272, 61%, 86%)
CMYKcmyk(28.6%, 60.9%, 0%, 13.7%)
CIE-LABlab(50.68, 53.59, -57.47)
CIE-LCHlch(50.68, 78.58, 313.00°)
OKLaboklab(59.79% 0.1163 -0.1625)
OKLCHoklch(59.79% 0.2 305.6)
XYZxyz(30.1479, 18.9912, 69.7737)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D56DC #95DC56
analogous
#5A56DC #9D56DC #DC56D8
triadic
#9D56DC #DC9D56 #56DC9D
tetradic
#9D56DC #DC5A56 #95DC56 #56D8DC
square
#9D56DC #DC5A56 #95DC56 #56D8DC
split-complementary
#9D56DC #D8DC56 #56DC5A
monochromatic
#5F2098 #7F2ACB #9D56DC #BA89E6 #D8BBF1

Accessibility & contrast

On white

4.38
#9D56DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9D56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D56DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D56DC#FFFFFF#000000##000000
##9D56DC1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0976E0
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#927191
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d56dc;
/* rgb */ color: rgb(157, 86, 220);
/* oklch */ color: oklch(59.8% 0.200 305.6);
Tailwind
colors: {
  custom: {
    50: '#be89e8',
    500: '#9d56dc',
    950: '#000000',
  },
}
SCSS
$custom: #9d56dc;
$custom-light: #be89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d56dc",
  "rgb": {
    "r": 157,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 271.791,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.59785,
    "c": 0.19982,
    "h": 305.6
  },
  "luminance": 0.18991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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