#D56DFB#D56DFB

#D56DFB is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.1% C 0.218 H 316.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D56DFB
RGBrgb(213, 109, 251)
HSLhsl(284, 95%, 71%)
HSVhsv(284, 57%, 98%)
CMYKcmyk(15.1%, 56.6%, 0%, 1.6%)
CIE-LABlab(63.38, 62.31, -54.10)
CIE-LCHlch(63.38, 82.52, 319.04°)
OKLaboklab(71.08% 0.1571 -0.1511)
OKLCHoklch(71.08% 0.218 316.1)
XYZxyz(50.3192, 32.0502, 94.7837)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56DFB #93FB6D
analogous
#8E6DFB #D56DFB #FB6DDA
triadic
#D56DFB #FBD56D #6DFBD5
tetradic
#D56DFB #FB8E6D #93FB6D #6DDAFB
square
#D56DFB #FB8E6D #93FB6D #6DDAFB
split-complementary
#D56DFB #DAFB6D #6DFB8E
monochromatic
#AB06E7 #C431F9 #D56DFB #E6A9FD #F6E1FE

Accessibility & contrast

On white

2.83
#D56DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#D56DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56DFB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56DFB#FFFFFF#000000##000000
##D56DFB1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d56dfb;
/* rgb */ color: rgb(213, 109, 251);
/* oklch */ color: oklch(71.1% 0.218 316.1);
Tailwind
colors: {
  custom: {
    50: '#e59bfd',
    500: '#d56dfb',
    950: '#000000',
  },
}
SCSS
$custom: #d56dfb;
$custom-light: #e59bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d56dfb",
  "rgb": {
    "r": 213,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 283.944,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71079,
    "c": 0.21801,
    "h": 316.1
  },
  "luminance": 0.32048
}

Semantic roles & 50–950 ramp

primary
#D56DFB
secondary
#D9F5CF
accent
#E6003D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D56DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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