#D56CF1#D56CF1

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

Color values

HEX#D56CF1
RGBrgb(213, 108, 241)
HSLhsl(287, 83%, 68%)
HSVhsv(287, 55%, 95%)
CMYKcmyk(11.6%, 55.2%, 0%, 5.5%)
CIE-LABlab(62.70, 60.83, -49.67)
CIE-LCHlch(62.70, 78.53, 320.77°)
OKLaboklab(70.41% 0.1578 -0.1382)
OKLCHoklch(70.41% 0.21 318.8)
XYZxyz(48.6782, 31.2241, 86.6647)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CF1 #88F16C
analogous
#926CF1 #D56CF1 #F16CCB
triadic
#D56CF1 #F1D56C #6CF1D5
tetradic
#D56CF1 #F1926C #88F16C #6CCBF1
square
#D56CF1 #F1926C #88F16C #6CCBF1
split-complementary
#D56CF1 #CBF16C #6CF192
monochromatic
#A714CF #C534EC #D56CF1 #E5A4F6 #F5DCFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D56CF1#FFFFFF#000000##000000
##D56CF11.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)
#4F91F5
Deuteranopia (green-blind)
#739BED
Tritanopia (blue-blind)
#D580A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56cf1;
/* rgb */ color: rgb(213, 108, 241);
/* oklch */ color: oklch(70.4% 0.210 318.8);
Tailwind
colors: {
  custom: {
    50: '#e59af6',
    500: '#d56cf1',
    950: '#000000',
  },
}
SCSS
$custom: #d56cf1;
$custom-light: #e59af6;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cf1",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 241
  },
  "hsl": {
    "h": 287.368,
    "s": 82.609,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70409,
    "c": 0.20976,
    "h": 318.8
  },
  "luminance": 0.31222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D56CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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