#D56AF8#D56AF8

#D56AF8 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.5% C 0.219 H 317.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#D56AF8
RGBrgb(213, 106, 248)
HSLhsl(285, 91%, 69%)
HSVhsv(285, 57%, 97%)
CMYKcmyk(14.1%, 57.3%, 0%, 2.7%)
CIE-LABlab(62.70, 63.13, -53.52)
CIE-LCHlch(62.70, 82.77, 319.71°)
OKLaboklab(70.53% 0.1606 -0.1495)
OKLCHoklch(70.53% 0.219 317.1)
XYZxyz(49.5354, 31.2333, 92.2080)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56AF8 #8DF86A
analogous
#8E6AF8 #D56AF8 #F86AD4
triadic
#D56AF8 #F8D56A #6AF8D5
tetradic
#D56AF8 #F88E6A #8DF86A #6AD4F8
square
#D56AF8 #F88E6A #8DF86A #6AD4F8
split-complementary
#D56AF8 #D4F86A #6AF88E
monochromatic
#A90ADD #C530F5 #D56AF8 #E5A4FB #F6DFFD

Accessibility & contrast

On white

2.90
#D56AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#D56AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56AF8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56AF8#FFFFFF#000000##000000
##D56AF81.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4691FD
Deuteranopia (green-blind)
#6E9BF4
Tritanopia (blue-blind)
#D481A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56af8;
/* rgb */ color: rgb(213, 106, 248);
/* oklch */ color: oklch(70.5% 0.219 317.1);
Tailwind
colors: {
  custom: {
    50: '#e599fb',
    500: '#d56af8',
    950: '#000000',
  },
}
SCSS
$custom: #d56af8;
$custom-light: #e599fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d56af8",
  "rgb": {
    "r": 213,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 285.211,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70531,
    "c": 0.21942,
    "h": 317.1
  },
  "luminance": 0.31232
}

Semantic roles & 50–950 ramp

primary
#D56AF8
secondary
#D5F3CA
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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