#D56AFE#D56AFE

#D56AFE is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.9% C 0.225 H 315.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#D56AFE
RGBrgb(213, 106, 254)
HSLhsl(283, 99%, 71%)
HSVhsv(283, 58%, 100%)
CMYKcmyk(16.1%, 58.3%, 0%, 0.4%)
CIE-LABlab(63.02, 64.31, -56.33)
CIE-LCHlch(63.02, 85.49, 318.79°)
OKLaboklab(70.86% 0.1609 -0.1576)
OKLCHoklch(70.86% 0.225 315.6)
XYZxyz(50.4812, 31.6116, 97.1892)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56AFE #93FE6A
analogous
#8B6AFE #D56AFE #FE6ADD
triadic
#D56AFE #FED56A #6AFED5
tetradic
#D56AFE #FE8B6A #93FE6A #6ADDFE
square
#D56AFE #FE8B6A #93FE6A #6ADDFE
split-complementary
#D56AFE #DDFE6A #6AFE8B
monochromatic
#AB02EC #C42DFE #D56AFE #E6A7FE #F6E1FF

Accessibility & contrast

On white

2.87
#D56AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#D56AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56AFE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56AFE#FFFFFF#000000##000000
##D56AFE1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#699CFA
Tritanopia (blue-blind)
#D283AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56afe;
/* rgb */ color: rgb(213, 106, 254);
/* oklch */ color: oklch(70.9% 0.225 315.6);
Tailwind
colors: {
  custom: {
    50: '#e59aff',
    500: '#d56afe',
    950: '#000000',
  },
}
SCSS
$custom: #d56afe;
$custom-light: #e59aff;
$custom-dark: #000000;
JSON
{
  "hex": "#d56afe",
  "rgb": {
    "r": 213,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 283.378,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70864,
    "c": 0.22523,
    "h": 315.6
  },
  "luminance": 0.3161
}

Semantic roles & 50–950 ramp

primary
#D56AFE
secondary
#D9F6CE
accent
#E60040
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D56AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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