#D56DF2#D56DF2

#D56DF2 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.6% C 0.209 H 318.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D56DF2
RGBrgb(213, 109, 242)
HSLhsl(287, 84%, 69%)
HSVhsv(287, 55%, 95%)
CMYKcmyk(12%, 55%, 0%, 5.1%)
CIE-LABlab(62.92, 60.55, -49.86)
CIE-LCHlch(62.92, 78.43, 320.53°)
OKLaboklab(70.59% 0.1566 -0.1388)
OKLCHoklch(70.59% 0.209 318.4)
XYZxyz(48.9341, 31.4961, 87.4889)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56DF2 #8AF26D
analogous
#936DF2 #D56DF2 #F26DCD
triadic
#D56DF2 #F2D56D #6DF2D5
tetradic
#D56DF2 #F2936D #8AF26D #6DCDF2
square
#D56DF2 #F2936D #8AF26D #6DCDF2
split-complementary
#D56DF2 #CDF26D #6DF293
monochromatic
#A813D2 #C535ED #D56DF2 #E5A5F7 #F5DDFC

Accessibility & contrast

On white

2.88
#D56DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D56DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56DF2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56DF2#FFFFFF#000000##000000
##D56DF21.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#749CEE
Tritanopia (blue-blind)
#D581A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56df2;
/* rgb */ color: rgb(213, 109, 242);
/* oklch */ color: oklch(70.6% 0.209 318.4);
Tailwind
colors: {
  custom: {
    50: '#e59bf7',
    500: '#d56df2',
    950: '#000000',
  },
}
SCSS
$custom: #d56df2;
$custom-light: #e59bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d56df2",
  "rgb": {
    "r": 213,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 286.917,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70593,
    "c": 0.20923,
    "h": 318.4
  },
  "luminance": 0.31494
}

Semantic roles & 50–950 ramp

primary
#D56DF2
secondary
#D2F1CA
accent
#E00535
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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