#D562EC#D562EC

#D562EC is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.9% C 0.220 H 320.7°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#D562EC
RGBrgb(213, 98, 236)
HSLhsl(290, 78%, 65%)
HSVhsv(290, 58%, 93%)
CMYKcmyk(9.7%, 58.5%, 0%, 7.5%)
CIE-LABlab(60.73, 64.51, -50.01)
CIE-LCHlch(60.73, 81.62, 322.22°)
OKLaboklab(68.89% 0.1699 -0.1392)
OKLCHoklch(68.89% 0.22 320.7)
XYZxyz(46.9468, 28.9398, 82.4537)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562EC #79EC62
analogous
#9062EC #D562EC #EC62BE
triadic
#D562EC #ECD562 #62ECD5
tetradic
#D562EC #EC9062 #79EC62 #62BEEC
square
#D562EC #EC9062 #79EC62 #62BEEC
split-complementary
#D562EC #BEEC62 #62EC90
monochromatic
#A117BD #C62BE5 #D562EC #E499F3 #F2CFF9

Accessibility & contrast

On white

3.09
#D562EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#D562EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D562EC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562EC#FFFFFF#000000##000000
##D562EC1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AF0
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#D7779E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d562ec;
/* rgb */ color: rgb(213, 98, 236);
/* oklch */ color: oklch(68.9% 0.220 320.7);
Tailwind
colors: {
  custom: {
    50: '#e594f3',
    500: '#d562ec',
    950: '#000000',
  },
}
SCSS
$custom: #d562ec;
$custom-light: #e594f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d562ec",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 290,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68889,
    "c": 0.21959,
    "h": 320.7
  },
  "luminance": 0.28938
}

Semantic roles & 50–950 ramp

primary
#D562EC
secondary
#C5ECBE
accent
#DB0B2D
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D562EC

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

Preview Lab → · Contrast checker → · Palette generator →

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