#D56AF5#D56AF5

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

Color values

HEX#D56AF5
RGBrgb(213, 106, 245)
HSLhsl(286, 87%, 69%)
HSVhsv(286, 57%, 96%)
CMYKcmyk(13.1%, 56.7%, 0%, 3.9%)
CIE-LABlab(62.55, 62.55, -52.11)
CIE-LCHlch(62.55, 81.41, 320.20°)
OKLaboklab(70.37% 0.1605 -0.1453)
OKLCHoklch(70.37% 0.217 317.8)
XYZxyz(49.0737, 31.0487, 89.7765)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56AF5 #8AF56A
analogous
#906AF5 #D56AF5 #F56AD0
triadic
#D56AF5 #F5D56A #6AF5D5
tetradic
#D56AF5 #F5906A #8AF56A #6AD0F5
square
#D56AF5 #F5906A #8AF56A #6AD0F5
split-complementary
#D56AF5 #D0F56A #6AF590
monochromatic
#A80ED6 #C531F1 #D56AF5 #E5A3F9 #F5DDFD

Accessibility & contrast

On white

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

On black

7.21
#D56AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56AF5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56AF5#FFFFFF#000000##000000
##D56AF51.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#6F9BF1
Tritanopia (blue-blind)
#D480A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56af5;
/* rgb */ color: rgb(213, 106, 245);
/* oklch */ color: oklch(70.4% 0.217 317.8);
Tailwind
colors: {
  custom: {
    50: '#e599f9',
    500: '#d56af5',
    950: '#000000',
  },
}
SCSS
$custom: #d56af5;
$custom-light: #e599f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d56af5",
  "rgb": {
    "r": 213,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 286.187,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70367,
    "c": 0.21654,
    "h": 317.8
  },
  "luminance": 0.31047
}

Semantic roles & 50–950 ramp

primary
#D56AF5
secondary
#D2F2C9
accent
#E40236
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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