#D56CDF#D56CDF

#D56CDF is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.5% C 0.193 H 324.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#D56CDF
RGBrgb(213, 108, 223)
HSLhsl(295, 64%, 65%)
HSVhsv(295, 52%, 87%)
CMYKcmyk(4.5%, 51.6%, 0%, 12.5%)
CIE-LABlab(61.83, 57.44, -41.02)
CIE-LCHlch(61.83, 70.59, 324.47°)
OKLaboklab(69.49% 0.156 -0.1132)
OKLCHoklch(69.49% 0.193 324)
XYZxyz(46.1212, 30.2013, 73.1978)
Luminance0.3020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CDF #76DF6C
analogous
#9C6CDF #D56CDF #DF6CAF
triadic
#D56CDF #DFD56C #6CDFD5
tetradic
#D56CDF #DF9C6C #76DF6C #6CAFDF
square
#D56CDF #DF9C6C #76DF6C #6CAFDF
split-complementary
#D56CDF #AFDF6C #6CDF9C
monochromatic
#A025AB #C73AD4 #D56CDF #E39EEA #F2D1F5

Accessibility & contrast

On white

2.98
#D56CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#D56CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CDF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CDF#FFFFFF#000000##000000
##D56CDF1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8DE3
Deuteranopia (green-blind)
#7D9ADC
Tritanopia (blue-blind)
#D97A9C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d56cdf;
/* rgb */ color: rgb(213, 108, 223);
/* oklch */ color: oklch(69.5% 0.193 324.0);
Tailwind
colors: {
  custom: {
    50: '#e49ae9',
    500: '#d56cdf',
    950: '#000000',
  },
}
SCSS
$custom: #d56cdf;
$custom-light: #e49ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cdf",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 294.783,
    "s": 64.246,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69488,
    "c": 0.19276,
    "h": 324
  },
  "luminance": 0.30199
}

Semantic roles & 50–950 ramp

primary
#D56CDF
secondary
#C3E7C0
accent
#CC1929
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D56CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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