#D56BEE#D56BEE

#D56BEE is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.1% C 0.208 H 319.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#D56BEE
RGBrgb(213, 107, 238)
HSLhsl(289, 79%, 68%)
HSVhsv(289, 55%, 93%)
CMYKcmyk(10.5%, 55%, 0%, 6.7%)
CIE-LABlab(62.37, 60.73, -48.52)
CIE-LCHlch(62.37, 77.73, 321.38°)
OKLaboklab(70.12% 0.1588 -0.1349)
OKLCHoklch(70.12% 0.208 319.7)
XYZxyz(48.1289, 30.8366, 84.2892)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BEE #84EE6B
analogous
#946BEE #D56BEE #EE6BC5
triadic
#D56BEE #EED56B #6BEED5
tetradic
#D56BEE #EE946B #84EE6B #6BC5EE
square
#D56BEE #EE946B #84EE6B #6BC5EE
split-complementary
#D56BEE #C5EE6B #6BEE94
monochromatic
#A617C8 #C534E8 #D56BEE #E5A2F4 #F4D9FB

Accessibility & contrast

On white

2.93
#D56BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D56BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BEE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BEE#FFFFFF#000000##000000
##D56BEE1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF2
Deuteranopia (green-blind)
#749BEB
Tritanopia (blue-blind)
#D67FA3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56bee;
/* rgb */ color: rgb(213, 107, 238);
/* oklch */ color: oklch(70.1% 0.208 319.7);
Tailwind
colors: {
  custom: {
    50: '#e59af4',
    500: '#d56bee',
    950: '#000000',
  },
}
SCSS
$custom: #d56bee;
$custom-light: #e59af4;
$custom-dark: #000000;
JSON
{
  "hex": "#d56bee",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 288.55,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70121,
    "c": 0.20838,
    "h": 319.7
  },
  "luminance": 0.30835
}

Semantic roles & 50–950 ramp

primary
#D56BEE
secondary
#CEEFC6
accent
#DC0A32
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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