#D562C4#D562C4

#D562C4 is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.9% C 0.185 H 333.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#D562C4
RGBrgb(213, 98, 196)
HSLhsl(309, 58%, 61%)
HSVhsv(309, 54%, 84%)
CMYKcmyk(0%, 54%, 8%, 16.5%)
CIE-LABlab(58.85, 57.50, -30.42)
CIE-LCHlch(58.85, 65.05, 332.12°)
OKLaboklab(66.9% 0.1654 -0.0828)
OKLCHoklch(66.9% 0.185 333.4)
XYZxyz(41.7721, 26.8699, 55.2001)
Luminance0.2687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562C4 #62D573
analogous
#AD62D5 #D562C4 #D5628A
triadic
#D562C4 #C4D562 #62C4D5
tetradic
#D562C4 #D5AD62 #62D573 #628AD5
square
#D562C4 #D5AD62 #62D573 #628AD5
split-complementary
#D562C4 #8AD562 #62D5AD
monochromatic
#952885 #C535B0 #D562C4 #E292D6 #EFC3E8

Accessibility & contrast

On white

3.29
#D562C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D562C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D562C4
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562C4#FFFFFF#000000##000000
##D562C41.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6083C7
Deuteranopia (green-blind)
#8294C1
Tritanopia (blue-blind)
#DE6A8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d562c4;
/* rgb */ color: rgb(213, 98, 196);
/* oklch */ color: oklch(66.9% 0.185 333.4);
Tailwind
colors: {
  custom: {
    50: '#e494d6',
    500: '#d562c4',
    950: '#000000',
  },
}
SCSS
$custom: #d562c4;
$custom-light: #e494d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d562c4",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 196
  },
  "hsl": {
    "h": 308.87,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66904,
    "c": 0.18494,
    "h": 333.4
  },
  "luminance": 0.26867
}

Semantic roles & 50–950 ramp

primary
#D562C4
secondary
#B4DFBA
accent
#C53920
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D562C4

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

Preview Lab → · Contrast checker → · Palette generator →

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