#D56AF0#D56AF0

#D56AF0 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.1% C 0.212 H 319.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#D56AF0
RGBrgb(213, 106, 240)
HSLhsl(288, 82%, 68%)
HSVhsv(288, 56%, 94%)
CMYKcmyk(11.2%, 55.8%, 0%, 5.9%)
CIE-LABlab(62.29, 61.58, -49.75)
CIE-LCHlch(62.29, 79.17, 321.07°)
OKLaboklab(70.1% 0.1602 -0.1385)
OKLCHoklch(70.1% 0.212 319.2)
XYZxyz(48.3207, 30.7475, 85.8107)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56AF0 #85F06A
analogous
#926AF0 #D56AF0 #F06AC8
triadic
#D56AF0 #F0D56A #6AF0D5
tetradic
#D56AF0 #F0926A #85F06A #6AC8F0
square
#D56AF0 #F0926A #85F06A #6AC8F0
split-complementary
#D56AF0 #C8F06A #6AF092
monochromatic
#A614CB #C532EA #D56AF0 #E5A2F6 #F4D9FB

Accessibility & contrast

On white

2.94
#D56AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#D56AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56AF0
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56AF0#FFFFFF#000000##000000
##D56AF01.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8FF4
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#D57FA3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56af0;
/* rgb */ color: rgb(213, 106, 240);
/* oklch */ color: oklch(70.1% 0.212 319.2);
Tailwind
colors: {
  custom: {
    50: '#e599f5',
    500: '#d56af0',
    950: '#000000',
  },
}
SCSS
$custom: #d56af0;
$custom-light: #e599f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d56af0",
  "rgb": {
    "r": 213,
    "g": 106,
    "b": 240
  },
  "hsl": {
    "h": 287.91,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70098,
    "c": 0.21176,
    "h": 319.2
  },
  "luminance": 0.30745
}

Semantic roles & 50–950 ramp

primary
#D56AF0
secondary
#CFF0C6
accent
#DE0733
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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