#D56CD6#D56CD6

#D56CD6 is a light, vivid purple. Relative luminance 0.297; OKLCH L 69.1% C 0.185 H 327.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#D56CD6
RGBrgb(213, 108, 214)
HSLhsl(299, 56%, 63%)
HSVhsv(299, 50%, 84%)
CMYKcmyk(0.5%, 49.5%, 0%, 16.1%)
CIE-LABlab(61.42, 55.82, -36.61)
CIE-LCHlch(61.42, 66.75, 326.74°)
OKLaboklab(69.05% 0.1548 -0.1005)
OKLCHoklch(69.05% 0.185 327)
XYZxyz(44.9399, 29.7288, 66.9764)
Luminance0.2973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CD6 #6DD66C
analogous
#A06CD6 #D56CD6 #D66CA2
triadic
#D56CD6 #D6D56C #6CD6D5
tetradic
#D56CD6 #D6A06C #6DD66C #6CA2D6
square
#D56CD6 #D6A06C #6DD66C #6CA2D6
split-complementary
#D56CD6 #A2D66C #6CD6A0
monochromatic
#9B2C9C #C73CC9 #D56CD6 #E39CE3 #F0CCF1

Accessibility & contrast

On white

3.02
#D56CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#D56CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D56CD6
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CD6#FFFFFF#000000##000000
##D56CD61.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#628CDA
Deuteranopia (green-blind)
#8199D3
Tritanopia (blue-blind)
#DA7897
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d56cd6;
/* rgb */ color: rgb(213, 108, 214);
/* oklch */ color: oklch(69.1% 0.185 327.0);
Tailwind
colors: {
  custom: {
    50: '#e49ae3',
    500: '#d56cd6',
    950: '#000000',
  },
}
SCSS
$custom: #d56cd6;
$custom-light: #e49ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cd6",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 299.434,
    "s": 56.383,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69054,
    "c": 0.18455,
    "h": 327
  },
  "luminance": 0.29726
}

Semantic roles & 50–950 ramp

primary
#D56CD6
secondary
#BCE2BC
accent
#C42223
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D56CD6

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

Preview Lab → · Contrast checker → · Palette generator →

#D56CD6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva