#D56BEF#D56BEF

#D56BEF is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.2% C 0.209 H 319.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#D56BEF
RGBrgb(213, 107, 239)
HSLhsl(288, 80%, 68%)
HSVhsv(288, 55%, 94%)
CMYKcmyk(10.9%, 55.2%, 0%, 6.3%)
CIE-LABlab(62.42, 60.92, -49.00)
CIE-LCHlch(62.42, 78.18, 321.19°)
OKLaboklab(70.17% 0.1589 -0.1363)
OKLCHoklch(70.17% 0.209 319.4)
XYZxyz(48.2763, 30.8955, 85.0651)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BEF #85EF6B
analogous
#936BEF #D56BEF #EF6BC7
triadic
#D56BEF #EFD56B #6BEFD5
tetradic
#D56BEF #EF936B #85EF6B #6BC7EF
square
#D56BEF #EF936B #85EF6B #6BC7EF
split-complementary
#D56BEF #C7EF6B #6BEF93
monochromatic
#A616CA #C534E9 #D56BEF #E5A2F5 #F4D9FB

Accessibility & contrast

On white

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

On black

7.18
#D56BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BEF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BEF#FFFFFF#000000##000000
##D56BEF1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d56bef;
/* rgb */ color: rgb(213, 107, 239);
/* oklch */ color: oklch(70.2% 0.209 319.4);
Tailwind
colors: {
  custom: {
    50: '#e59af5',
    500: '#d56bef',
    950: '#000000',
  },
}
SCSS
$custom: #d56bef;
$custom-light: #e59af5;
$custom-dark: #000000;
JSON
{
  "hex": "#d56bef",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 288.182,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70174,
    "c": 0.20933,
    "h": 319.4
  },
  "luminance": 0.30894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D56BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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