#D56CE7#D56CE7

#D56CE7 is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 69.9% C 0.200 H 321.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#D56CE7
RGBrgb(213, 108, 231)
HSLhsl(291, 72%, 66%)
HSVhsv(291, 53%, 91%)
CMYKcmyk(7.8%, 53.2%, 0%, 9.4%)
CIE-LABlab(62.20, 58.93, -44.89)
CIE-LCHlch(62.20, 74.08, 322.70°)
OKLaboklab(69.89% 0.1569 -0.1244)
OKLCHoklch(69.89% 0.2 321.6)
XYZxyz(47.2253, 30.6429, 79.0129)
Luminance0.3064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CE7 #7EE76C
analogous
#986CE7 #D56CE7 #E76CBB
triadic
#D56CE7 #E7D56C #6CE7D5
tetradic
#D56CE7 #E7986C #7EE76C #6CBBE7
square
#D56CE7 #E7986C #7EE76C #6CBBE7
split-complementary
#D56CE7 #BBE76C #6CE798
monochromatic
#A31EBA #C637DE #D56CE7 #E4A1F0 #F3D5F8

Accessibility & contrast

On white

2.95
#D56CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#D56CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CE7
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CE7#FFFFFF#000000##000000
##D56CE71.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FEB
Deuteranopia (green-blind)
#799AE4
Tritanopia (blue-blind)
#D77DA0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d56ce7;
/* rgb */ color: rgb(213, 108, 231);
/* oklch */ color: oklch(69.9% 0.200 321.6);
Tailwind
colors: {
  custom: {
    50: '#e49aef',
    500: '#d56ce7',
    950: '#000000',
  },
}
SCSS
$custom: #d56ce7;
$custom-light: #e49aef;
$custom-dark: #000000;
JSON
{
  "hex": "#d56ce7",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 291.22,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69889,
    "c": 0.20023,
    "h": 321.6
  },
  "luminance": 0.30641
}

Semantic roles & 50–950 ramp

primary
#D56CE7
secondary
#C9EBC3
accent
#D4122E
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D56CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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