#D562C2#D562C2

#D562C2 is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.8% C 0.183 H 334.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#D562C2
RGBrgb(213, 98, 194)
HSLhsl(310, 58%, 61%)
HSVhsv(310, 54%, 84%)
CMYKcmyk(0%, 54%, 8.9%, 16.5%)
CIE-LABlab(58.77, 57.18, -29.41)
CIE-LCHlch(58.77, 64.30, 332.78°)
OKLaboklab(66.82% 0.165 -0.0799)
OKLCHoklch(66.82% 0.183 334.2)
XYZxyz(41.5459, 26.7795, 54.0092)
Luminance0.2678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562C2 #62D575
analogous
#AE62D5 #D562C2 #D56288
triadic
#D562C2 #C2D562 #62C2D5
tetradic
#D562C2 #D5AE62 #62D575 #6288D5
square
#D562C2 #D5AE62 #62D575 #6288D5
split-complementary
#D562C2 #88D562 #62D5AE
monochromatic
#952883 #C535AD #D562C2 #E292D5 #EFC3E8

Accessibility & contrast

On white

3.30
#D562C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#D562C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D562C2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562C2#FFFFFF#000000##000000
##D562C21.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6183C5
Deuteranopia (green-blind)
#8394BF
Tritanopia (blue-blind)
#DE6989
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d562c2;
/* rgb */ color: rgb(213, 98, 194);
/* oklch */ color: oklch(66.8% 0.183 334.2);
Tailwind
colors: {
  custom: {
    50: '#e494d4',
    500: '#d562c2',
    950: '#000000',
  },
}
SCSS
$custom: #d562c2;
$custom-light: #e494d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d562c2",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 309.913,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66815,
    "c": 0.18335,
    "h": 334.2
  },
  "luminance": 0.26777
}

Semantic roles & 50–950 ramp

primary
#D562C2
secondary
#B4DFBB
accent
#C53B20
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D562C2

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

Preview Lab → · Contrast checker → · Palette generator →

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