#D56FC7#D56FC7

#D56FC7 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.8% C 0.167 H 332.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#D56FC7
RGBrgb(213, 111, 199)
HSLhsl(308, 55%, 64%)
HSVhsv(308, 48%, 84%)
CMYKcmyk(0%, 47.9%, 6.6%, 16.5%)
CIE-LABlab(61.34, 51.75, -28.27)
CIE-LCHlch(61.34, 58.96, 331.35°)
OKLaboklab(68.79% 0.1479 -0.0768)
OKLCHoklch(68.79% 0.167 332.6)
XYZxyz(43.4336, 29.6412, 57.4554)
Luminance0.2964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56FC7 #6FD57D
analogous
#B06FD5 #D56FC7 #D56F94
triadic
#D56FC7 #C7D56F #6FC7D5
tetradic
#D56FC7 #D5B06F #6FD57D #6F94D5
square
#D56FC7 #D5B06F #6FD57D #6F94D5
split-complementary
#D56FC7 #94D56F #6FD5B0
monochromatic
#9C2E8D #C740B5 #D56FC7 #E39ED9 #F1CEEC

Accessibility & contrast

On white

3.03
#D56FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#D56FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D56FC7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56FC7#FFFFFF#000000##000000
##D56FC71.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8BCA
Deuteranopia (green-blind)
#8999C4
Tritanopia (blue-blind)
#DD7692
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d56fc7;
/* rgb */ color: rgb(213, 111, 199);
/* oklch */ color: oklch(68.8% 0.167 332.6);
Tailwind
colors: {
  custom: {
    50: '#e49cd8',
    500: '#d56fc7',
    950: '#000000',
  },
}
SCSS
$custom: #d56fc7;
$custom-light: #e49cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d56fc7",
  "rgb": {
    "r": 213,
    "g": 111,
    "b": 199
  },
  "hsl": {
    "h": 308.235,
    "s": 54.839,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68789,
    "c": 0.16664,
    "h": 332.6
  },
  "luminance": 0.29639
}

Semantic roles & 50–950 ramp

primary
#D56FC7
secondary
#BEE2C3
accent
#C23923
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D56FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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