#D56BF6#D56BF6

#D56BF6 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.5% C 0.216 H 317.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#D56BF6
RGBrgb(213, 107, 246)
HSLhsl(286, 89%, 69%)
HSVhsv(286, 57%, 96%)
CMYKcmyk(13.4%, 56.5%, 0%, 3.5%)
CIE-LABlab(62.77, 62.27, -52.31)
CIE-LCHlch(62.77, 81.33, 319.97°)
OKLaboklab(70.55% 0.1593 -0.1459)
OKLCHoklch(70.55% 0.216 317.5)
XYZxyz(49.3305, 31.3172, 90.6172)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BF6 #8CF66B
analogous
#906BF6 #D56BF6 #F66BD2
triadic
#D56BF6 #F6D56B #6BF6D5
tetradic
#D56BF6 #F6906B #8CF66B #6BD2F6
square
#D56BF6 #F6906B #8CF66B #6BD2F6
split-complementary
#D56BF6 #D2F66B #6BF690
monochromatic
#A90DD9 #C531F2 #D56BF6 #E5A5FA #F6DEFD

Accessibility & contrast

On white

2.89
#D56BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#D56BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BF6
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BF6#FFFFFF#000000##000000
##D56BF61.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FA
Deuteranopia (green-blind)
#709BF2
Tritanopia (blue-blind)
#D481A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56bf6;
/* rgb */ color: rgb(213, 107, 246);
/* oklch */ color: oklch(70.5% 0.216 317.5);
Tailwind
colors: {
  custom: {
    50: '#e59afa',
    500: '#d56bf6',
    950: '#000000',
  },
}
SCSS
$custom: #d56bf6;
$custom-light: #e59afa;
$custom-dark: #000000;
JSON
{
  "hex": "#d56bf6",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 285.755,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70549,
    "c": 0.21605,
    "h": 317.5
  },
  "luminance": 0.31315
}

Semantic roles & 50–950 ramp

primary
#D56BF6
secondary
#D4F3CA
accent
#E50037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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