#9D56DD#9D56DD

#9D56DD is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.9% C 0.201 H 305.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9D56DD
RGBrgb(157, 86, 221)
HSLhsl(272, 67%, 60%)
HSVhsv(272, 61%, 87%)
CMYKcmyk(29%, 61.1%, 0%, 13.3%)
CIE-LABlab(50.74, 53.82, -57.93)
CIE-LCHlch(50.74, 79.08, 312.89°)
OKLaboklab(59.85% 0.1163 -0.1639)
OKLCHoklch(59.85% 0.201 305.4)
XYZxyz(30.2807, 19.0443, 70.4733)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D56DD #96DD56
analogous
#5A56DD #9D56DD #DD56D9
triadic
#9D56DD #DD9D56 #56DD9D
tetradic
#9D56DD #DD5A56 #96DD56 #56D9DD
square
#9D56DD #DD5A56 #96DD56 #56D9DD
split-complementary
#9D56DD #D9DD56 #56DD5A
monochromatic
#5F1F9A #7F29CD #9D56DD #BB89E7 #D8BCF2

Accessibility & contrast

On white

4.37
#9D56DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9D56DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D56DD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D56DD#FFFFFF#000000##000000
##9D56DD1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0477E1
Deuteranopia (green-blind)
#3879DA
Tritanopia (blue-blind)
#927292
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d56dd;
/* rgb */ color: rgb(157, 86, 221);
/* oklch */ color: oklch(59.9% 0.201 305.4);
Tailwind
colors: {
  custom: {
    50: '#be89e8',
    500: '#9d56dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d56dd;
$custom-light: #be89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d56dd",
  "rgb": {
    "r": 157,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 271.556,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.20092,
    "h": 305.4
  },
  "luminance": 0.19044
}

Semantic roles & 50–950 ramp

primary
#9D56DD
secondary
#C6E1AE
accent
#CE176E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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