#D56AF6#D56AF6

#D56AF6 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.4% C 0.217 H 317.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#D56AF6
RGBrgb(213, 106, 246)
HSLhsl(286, 89%, 69%)
HSVhsv(286, 57%, 96%)
CMYKcmyk(13.4%, 56.9%, 0%, 3.5%)
CIE-LABlab(62.60, 62.74, -52.58)
CIE-LCHlch(62.60, 81.86, 320.03°)
OKLaboklab(70.42% 0.1606 -0.1467)
OKLCHoklch(70.42% 0.218 317.6)
XYZxyz(49.2268, 31.1099, 90.5827)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56AF6 #8BF66A
analogous
#8F6AF6 #D56AF6 #F66AD1
triadic
#D56AF6 #F6D56A #6AF6D5
tetradic
#D56AF6 #F68F6A #8BF66A #6AD1F6
square
#D56AF6 #F68F6A #8BF66A #6AD1F6
split-complementary
#D56AF6 #D1F66A #6AF68F
monochromatic
#A90DD9 #C530F3 #D56AF6 #E5A4F9 #F6DDFD

Accessibility & contrast

On white

2.91
#D56AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#D56AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56AF6
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56AF6#FFFFFF#000000##000000
##D56AF61.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890FA
Deuteranopia (green-blind)
#6F9BF2
Tritanopia (blue-blind)
#D481A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56af6;
/* rgb */ color: rgb(213, 106, 246);
/* oklch */ color: oklch(70.4% 0.217 317.6);
Tailwind
colors: {
  custom: {
    50: '#e599fa',
    500: '#d56af6',
    950: '#000000',
  },
}
SCSS
$custom: #d56af6;
$custom-light: #e599fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d56af6",
  "rgb": {
    "r": 213,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 285.857,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70422,
    "c": 0.2175,
    "h": 317.6
  },
  "luminance": 0.31108
}

Semantic roles & 50–950 ramp

primary
#D56AF6
secondary
#D3F2C9
accent
#E50036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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