#D56BF4#D56BF4

#D56BF4 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.4% C 0.214 H 318.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#D56BF4
RGBrgb(213, 107, 244)
HSLhsl(286, 86%, 69%)
HSVhsv(286, 56%, 96%)
CMYKcmyk(12.7%, 56.1%, 0%, 4.3%)
CIE-LABlab(62.67, 61.88, -51.36)
CIE-LCHlch(62.67, 80.42, 320.31°)
OKLaboklab(70.44% 0.1592 -0.1432)
OKLCHoklch(70.44% 0.214 318)
XYZxyz(49.0251, 31.1951, 89.0092)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BF4 #8AF46B
analogous
#916BF4 #D56BF4 #F46BCF
triadic
#D56BF4 #F4D56B #6BF4D5
tetradic
#D56BF4 #F4916B #8AF46B #6BCFF4
square
#D56BF4 #F4916B #8AF46B #6BCFF4
split-complementary
#D56BF4 #CFF46B #6BF491
monochromatic
#A810D5 #C532F0 #D56BF4 #E5A4F8 #F5DDFC

Accessibility & contrast

On white

2.90
#D56BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#D56BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BF4
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BF4#FFFFFF#000000##000000
##D56BF41.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F8
Deuteranopia (green-blind)
#719BF0
Tritanopia (blue-blind)
#D581A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56bf4;
/* rgb */ color: rgb(213, 107, 244);
/* oklch */ color: oklch(70.4% 0.214 318.0);
Tailwind
colors: {
  custom: {
    50: '#e59af8',
    500: '#d56bf4',
    950: '#000000',
  },
}
SCSS
$custom: #d56bf4;
$custom-light: #e59af8;
$custom-dark: #000000;
JSON
{
  "hex": "#d56bf4",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 286.423,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70441,
    "c": 0.21412,
    "h": 318
  },
  "luminance": 0.31193
}

Semantic roles & 50–950 ramp

primary
#D56BF4
secondary
#D2F2C9
accent
#E30335
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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