#D56CE5#D56CE5

#D56CE5 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.8% C 0.198 H 322.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#D56CE5
RGBrgb(213, 108, 229)
HSLhsl(292, 70%, 66%)
HSVhsv(292, 53%, 90%)
CMYKcmyk(7%, 52.8%, 0%, 10.2%)
CIE-LABlab(62.11, 58.55, -43.93)
CIE-LCHlch(62.11, 73.20, 323.12°)
OKLaboklab(69.79% 0.1567 -0.1216)
OKLCHoklch(69.79% 0.198 322.2)
XYZxyz(46.9445, 30.5306, 77.5338)
Luminance0.3053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CE5 #7CE56C
analogous
#986CE5 #D56CE5 #E56CB8
triadic
#D56CE5 #E5D56C #6CE5D5
tetradic
#D56CE5 #E5986C #7CE56C #6CB8E5
square
#D56CE5 #E5986C #7CE56C #6CB8E5
split-complementary
#D56CE5 #B8E56C #6CE598
monochromatic
#A220B6 #C638DC #D56CE5 #E4A0EE #F3D4F7

Accessibility & contrast

On white

2.96
#D56CE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#D56CE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CE5
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CE5#FFFFFF#000000##000000
##D56CE51.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#588EE9
Deuteranopia (green-blind)
#7A9AE2
Tritanopia (blue-blind)
#D87C9F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d56ce5;
/* rgb */ color: rgb(213, 108, 229);
/* oklch */ color: oklch(69.8% 0.198 322.2);
Tailwind
colors: {
  custom: {
    50: '#e49aed',
    500: '#d56ce5',
    950: '#000000',
  },
}
SCSS
$custom: #d56ce5;
$custom-light: #e49aed;
$custom-dark: #000000;
JSON
{
  "hex": "#d56ce5",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 229
  },
  "hsl": {
    "h": 292.066,
    "s": 69.942,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69788,
    "c": 0.19835,
    "h": 322.2
  },
  "luminance": 0.30528
}

Semantic roles & 50–950 ramp

primary
#D56CE5
secondary
#C8EAC3
accent
#D2142D
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D56CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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