#D56DFA#D56DFA

#D56DFA is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.0% C 0.217 H 316.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D56DFA
RGBrgb(213, 109, 250)
HSLhsl(284, 93%, 70%)
HSVhsv(284, 56%, 98%)
CMYKcmyk(14.8%, 56.4%, 0%, 2%)
CIE-LABlab(63.33, 62.11, -53.63)
CIE-LCHlch(63.33, 82.06, 319.19°)
OKLaboklab(71.02% 0.1571 -0.1498)
OKLCHoklch(71.02% 0.217 316.4)
XYZxyz(50.1619, 31.9873, 93.9558)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56DFA #92FA6D
analogous
#8E6DFA #D56DFA #FA6DD9
triadic
#D56DFA #FAD56D #6DFAD5
tetradic
#D56DFA #FA8E6D #92FA6D #6DD9FA
square
#D56DFA #FA8E6D #92FA6D #6DD9FA
split-complementary
#D56DFA #D9FA6D #6DFA8E
monochromatic
#AB08E5 #C432F8 #D56DFA #E6A8FC #F6E1FE

Accessibility & contrast

On white

2.84
#D56DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D56DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56DFA
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56DFA#FFFFFF#000000##000000
##D56DFA1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#6F9CF6
Tritanopia (blue-blind)
#D384AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56dfa;
/* rgb */ color: rgb(213, 109, 250);
/* oklch */ color: oklch(71.0% 0.217 316.4);
Tailwind
colors: {
  custom: {
    50: '#e59bfc',
    500: '#d56dfa',
    950: '#000000',
  },
}
SCSS
$custom: #d56dfa;
$custom-light: #e59bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d56dfa",
  "rgb": {
    "r": 213,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 284.255,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71024,
    "c": 0.21702,
    "h": 316.4
  },
  "luminance": 0.31986
}

Semantic roles & 50–950 ramp

primary
#D56DFA
secondary
#D8F5CE
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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