#D56AEF#D56AEF

#D56AEF is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.0% C 0.211 H 319.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D56AEF
RGBrgb(213, 106, 239)
HSLhsl(288, 81%, 68%)
HSVhsv(288, 56%, 94%)
CMYKcmyk(10.9%, 55.6%, 0%, 6.3%)
CIE-LABlab(62.24, 61.39, -49.27)
CIE-LCHlch(62.24, 78.72, 321.25°)
OKLaboklab(70.05% 0.1601 -0.1371)
OKLCHoklch(70.05% 0.211 319.4)
XYZxyz(48.1726, 30.6882, 85.0305)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56AEF #84EF6A
analogous
#936AEF #D56AEF #EF6AC6
triadic
#D56AEF #EFD56A #6AEFD5
tetradic
#D56AEF #EF936A #84EF6A #6AC6EF
square
#D56AEF #EF936A #84EF6A #6AC6EF
split-complementary
#D56AEF #C6EF6A #6AEF93
monochromatic
#A616C9 #C533E9 #D56AEF #E5A1F5 #F4D9FB

Accessibility & contrast

On white

2.94
#D56AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#D56AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56AEF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56AEF#FFFFFF#000000##000000
##D56AEF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#739AEB
Tritanopia (blue-blind)
#D67EA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d56aef;
/* rgb */ color: rgb(213, 106, 239);
/* oklch */ color: oklch(70.0% 0.211 319.4);
Tailwind
colors: {
  custom: {
    50: '#e599f5',
    500: '#d56aef',
    950: '#000000',
  },
}
SCSS
$custom: #d56aef;
$custom-light: #e599f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d56aef",
  "rgb": {
    "r": 213,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 288.271,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70045,
    "c": 0.2108,
    "h": 319.4
  },
  "luminance": 0.30686
}

Semantic roles & 50–950 ramp

primary
#D56AEF
secondary
#CEEFC6
accent
#DD0932
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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