#D56CF9#D56CF9

#D56CF9 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.8% C 0.217 H 316.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D56CF9
RGBrgb(213, 108, 249)
HSLhsl(285, 92%, 70%)
HSVhsv(285, 57%, 98%)
CMYKcmyk(14.5%, 56.6%, 0%, 2.4%)
CIE-LABlab(63.10, 62.39, -53.44)
CIE-LCHlch(63.10, 82.15, 319.42°)
OKLaboklab(70.84% 0.1582 -0.1492)
OKLCHoklch(70.84% 0.218 316.7)
XYZxyz(49.8995, 31.7126, 93.0968)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CF9 #90F96C
analogous
#8F6CF9 #D56CF9 #F96CD6
triadic
#D56CF9 #F9D56C #6CF9D5
tetradic
#D56CF9 #F98F6C #90F96C #6CD6F9
square
#D56CF9 #F98F6C #90F96C #6CD6F9
split-complementary
#D56CF9 #D6F96C #6CF98F
monochromatic
#AA09E1 #C431F7 #D56CF9 #E6A7FB #F7E2FE

Accessibility & contrast

On white

2.86
#D56CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#D56CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CF9
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CF9#FFFFFF#000000##000000
##D56CF91.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FE
Deuteranopia (green-blind)
#6F9CF5
Tritanopia (blue-blind)
#D383A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56cf9;
/* rgb */ color: rgb(213, 108, 249);
/* oklch */ color: oklch(70.8% 0.217 316.7);
Tailwind
colors: {
  custom: {
    50: '#e59bfc',
    500: '#d56cf9',
    950: '#000000',
  },
}
SCSS
$custom: #d56cf9;
$custom-light: #e59bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cf9",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 249
  },
  "hsl": {
    "h": 284.681,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.70841,
    "c": 0.2175,
    "h": 316.7
  },
  "luminance": 0.31711
}

Semantic roles & 50–950 ramp

primary
#D56CF9
secondary
#D7F4CD
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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