#D56BF1#D56BF1

#D56BF1 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.3% C 0.211 H 318.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#D56BF1
RGBrgb(213, 107, 241)
HSLhsl(287, 83%, 68%)
HSVhsv(287, 56%, 95%)
CMYKcmyk(11.6%, 55.6%, 0%, 5.5%)
CIE-LABlab(62.52, 61.30, -49.95)
CIE-LCHlch(62.52, 79.07, 320.83°)
OKLaboklab(70.28% 0.159 -0.139)
OKLCHoklch(70.28% 0.211 318.8)
XYZxyz(48.5734, 31.0143, 86.6298)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BF1 #87F16B
analogous
#926BF1 #D56BF1 #F16BCA
triadic
#D56BF1 #F1D56B #6BF1D5
tetradic
#D56BF1 #F1926B #87F16B #6BCAF1
square
#D56BF1 #F1926B #87F16B #6BCAF1
split-complementary
#D56BF1 #CAF16B #6BF192
monochromatic
#A713CE #C533EC #D56BF1 #E5A3F6 #F5DBFC

Accessibility & contrast

On white

2.92
#D56BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#D56BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BF1
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BF1#FFFFFF#000000##000000
##D56BF11.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F5
Deuteranopia (green-blind)
#739BED
Tritanopia (blue-blind)
#D580A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56bf1;
/* rgb */ color: rgb(213, 107, 241);
/* oklch */ color: oklch(70.3% 0.211 318.8);
Tailwind
colors: {
  custom: {
    50: '#e59af6',
    500: '#d56bf1',
    950: '#000000',
  },
}
SCSS
$custom: #d56bf1;
$custom-light: #e59af6;
$custom-dark: #000000;
JSON
{
  "hex": "#d56bf1",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 287.463,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7028,
    "c": 0.21124,
    "h": 318.8
  },
  "luminance": 0.31012
}

Semantic roles & 50–950 ramp

primary
#D56BF1
secondary
#D0F0C8
accent
#DF0634
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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