#D56AF9#D56AF9

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

Color values

HEX#D56AF9
RGBrgb(213, 106, 249)
HSLhsl(285, 92%, 70%)
HSVhsv(285, 57%, 98%)
CMYKcmyk(14.5%, 57.4%, 0%, 2.4%)
CIE-LABlab(62.76, 63.33, -53.99)
CIE-LCHlch(62.76, 83.22, 319.55°)
OKLaboklab(70.59% 0.1607 -0.1508)
OKLCHoklch(70.59% 0.22 316.8)
XYZxyz(49.6910, 31.2955, 93.0273)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56AF9 #8EF96A
analogous
#8E6AF9 #D56AF9 #F96AD6
triadic
#D56AF9 #F9D56A #6AF9D5
tetradic
#D56AF9 #F98E6A #8EF96A #6AD6F9
square
#D56AF9 #F98E6A #8EF96A #6AD6F9
split-complementary
#D56AF9 #D6F96A #6AF98E
monochromatic
#AA09E0 #C42FF7 #D56AF9 #E6A5FB #F6E0FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D56AF9#FFFFFF#000000##000000
##D56AF91.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)
#4591FE
Deuteranopia (green-blind)
#6D9BF5
Tritanopia (blue-blind)
#D482A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56af9;
/* rgb */ color: rgb(213, 106, 249);
/* oklch */ color: oklch(70.6% 0.220 316.8);
Tailwind
colors: {
  custom: {
    50: '#e599fc',
    500: '#d56af9',
    950: '#000000',
  },
}
SCSS
$custom: #d56af9;
$custom-light: #e599fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d56af9",
  "rgb": {
    "r": 213,
    "g": 106,
    "b": 249
  },
  "hsl": {
    "h": 284.895,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70586,
    "c": 0.22039,
    "h": 316.8
  },
  "luminance": 0.31294
}

Semantic roles & 50–950 ramp

primary
#D56AF9
secondary
#D5F4CB
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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