#D56CE6#D56CE6

#D56CE6 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.8% C 0.199 H 321.9°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#D56CE6
RGBrgb(213, 108, 230)
HSLhsl(292, 71%, 66%)
HSVhsv(292, 53%, 90%)
CMYKcmyk(7.4%, 53%, 0%, 9.8%)
CIE-LABlab(62.16, 58.74, -44.41)
CIE-LCHlch(62.16, 73.64, 322.91°)
OKLaboklab(69.84% 0.1568 -0.123)
OKLCHoklch(69.84% 0.199 321.9)
XYZxyz(47.0845, 30.5866, 78.2712)
Luminance0.3058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CE6 #7DE66C
analogous
#986CE6 #D56CE6 #E66CBA
triadic
#D56CE6 #E6D56C #6CE6D5
tetradic
#D56CE6 #E6986C #7DE66C #6CBAE6
square
#D56CE6 #E6986C #7DE66C #6CBAE6
split-complementary
#D56CE6 #BAE66C #6CE698
monochromatic
#A31FB8 #C638DD #D56CE6 #E4A0EF #F3D5F8

Accessibility & contrast

On white

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

On black

7.12
#D56CE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CE6
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CE6#FFFFFF#000000##000000
##D56CE61.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEA
Deuteranopia (green-blind)
#7A9AE3
Tritanopia (blue-blind)
#D77D9F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d56ce6;
/* rgb */ color: rgb(213, 108, 230);
/* oklch */ color: oklch(69.8% 0.199 321.9);
Tailwind
colors: {
  custom: {
    50: '#e49aee',
    500: '#d56ce6',
    950: '#000000',
  },
}
SCSS
$custom: #d56ce6;
$custom-light: #e49aee;
$custom-dark: #000000;
JSON
{
  "hex": "#d56ce6",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 230
  },
  "hsl": {
    "h": 291.639,
    "s": 70.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69838,
    "c": 0.19929,
    "h": 321.9
  },
  "luminance": 0.30584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D56CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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