#D56CF2#D56CF2

#D56CF2 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.5% C 0.211 H 318.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#D56CF2
RGBrgb(213, 108, 242)
HSLhsl(287, 84%, 69%)
HSVhsv(287, 55%, 95%)
CMYKcmyk(12%, 55.4%, 0%, 5.1%)
CIE-LABlab(62.75, 61.02, -50.14)
CIE-LCHlch(62.75, 78.98, 320.59°)
OKLaboklab(70.46% 0.1578 -0.1396)
OKLCHoklch(70.46% 0.211 318.5)
XYZxyz(48.8280, 31.2840, 87.4536)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CF2 #89F26C
analogous
#926CF2 #D56CF2 #F26CCC
triadic
#D56CF2 #F2D56C #6CF2D5
tetradic
#D56CF2 #F2926C #89F26C #6CCCF2
square
#D56CF2 #F2926C #89F26C #6CCCF2
split-complementary
#D56CF2 #CCF26C #6CF292
monochromatic
#A812D1 #C534ED #D56CF2 #E5A4F7 #F5DCFC

Accessibility & contrast

On white

2.89
#D56CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#D56CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CF2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CF2#FFFFFF#000000##000000
##D56CF21.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#739BEE
Tritanopia (blue-blind)
#D581A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56cf2;
/* rgb */ color: rgb(213, 108, 242);
/* oklch */ color: oklch(70.5% 0.211 318.5);
Tailwind
colors: {
  custom: {
    50: '#e59bf7',
    500: '#d56cf2',
    950: '#000000',
  },
}
SCSS
$custom: #d56cf2;
$custom-light: #e59bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cf2",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 287.015,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70463,
    "c": 0.21072,
    "h": 318.5
  },
  "luminance": 0.31282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D56CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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