#D562CC#D562CC

#D562CC is a light, vivid purple. Relative luminance 0.272; OKLCH L 67.3% C 0.191 H 330.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#D562CC
RGBrgb(213, 98, 204)
HSLhsl(305, 58%, 61%)
HSVhsv(305, 54%, 84%)
CMYKcmyk(0%, 54%, 4.2%, 16.5%)
CIE-LABlab(59.20, 58.83, -34.43)
CIE-LCHlch(59.20, 68.16, 329.66°)
OKLaboklab(67.27% 0.1667 -0.0942)
OKLCHoklch(67.27% 0.191 330.5)
XYZxyz(42.7070, 27.2439, 60.1242)
Luminance0.2724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562CC #62D56B
analogous
#A462D5 #D562CC #D56292
triadic
#D562CC #CCD562 #62CCD5
tetradic
#D562CC #D5A462 #62D56B #6292D5
square
#D562CC #D5A462 #62D56B #6292D5
split-complementary
#D562CC #92D562 #62D5A4
monochromatic
#95288C #C535BA #D562CC #E292DC #EFC3EB

Accessibility & contrast

On white

3.26
#D562CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#D562CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D562CC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562CC#FFFFFF#000000##000000
##D562CC1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CF
Deuteranopia (green-blind)
#7F94C9
Tritanopia (blue-blind)
#DC6C8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d562cc;
/* rgb */ color: rgb(213, 98, 204);
/* oklch */ color: oklch(67.3% 0.191 330.5);
Tailwind
colors: {
  custom: {
    50: '#e494dc',
    500: '#d562cc',
    950: '#000000',
  },
}
SCSS
$custom: #d562cc;
$custom-light: #e494dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d562cc",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 304.696,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67272,
    "c": 0.19147,
    "h": 330.5
  },
  "luminance": 0.27241
}

Semantic roles & 50–950 ramp

primary
#D562CC
secondary
#B4DFB7
accent
#C52D20
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D562CC

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

Preview Lab → · Contrast checker → · Palette generator →

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