#D562C5#D562C5

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

Color values

HEX#D562C5
RGBrgb(213, 98, 197)
HSLhsl(308, 58%, 61%)
HSVhsv(308, 54%, 84%)
CMYKcmyk(0%, 54%, 7.5%, 16.5%)
CIE-LABlab(58.90, 57.67, -30.92)
CIE-LCHlch(58.90, 65.43, 331.80°)
OKLaboklab(66.95% 0.1656 -0.0842)
OKLCHoklch(66.95% 0.186 333)
XYZxyz(41.8863, 26.9156, 55.8016)
Luminance0.2691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562C5 #62D572
analogous
#AB62D5 #D562C5 #D5628B
triadic
#D562C5 #C5D562 #62C5D5
tetradic
#D562C5 #D5AB62 #62D572 #628BD5
square
#D562C5 #D5AB62 #62D572 #628BD5
split-complementary
#D562C5 #8BD562 #62D5AB
monochromatic
#952886 #C535B1 #D562C5 #E292D7 #EFC3E9

Accessibility & contrast

On white

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

On black

6.38
#D562C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D562C5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562C5#FFFFFF#000000##000000
##D562C51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C8
Deuteranopia (green-blind)
#8294C2
Tritanopia (blue-blind)
#DD6A8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d562c5;
/* rgb */ color: rgb(213, 98, 197);
/* oklch */ color: oklch(66.9% 0.186 333.0);
Tailwind
colors: {
  custom: {
    50: '#e494d7',
    500: '#d562c5',
    950: '#000000',
  },
}
SCSS
$custom: #d562c5;
$custom-light: #e494d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d562c5",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 197
  },
  "hsl": {
    "h": 308.348,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66949,
    "c": 0.18575,
    "h": 333
  },
  "luminance": 0.26913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D562C5

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

Preview Lab → · Contrast checker → · Palette generator →

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