#D562EF#D562EF

#D562EF is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.1% C 0.222 H 319.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#D562EF
RGBrgb(213, 98, 239)
HSLhsl(289, 82%, 66%)
HSVhsv(289, 59%, 94%)
CMYKcmyk(10.9%, 59%, 0%, 6.3%)
CIE-LABlab(60.88, 65.07, -51.43)
CIE-LCHlch(60.88, 82.94, 321.68°)
OKLaboklab(69.05% 0.17 -0.1433)
OKLCHoklch(69.05% 0.222 319.9)
XYZxyz(47.3863, 29.1156, 84.7684)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562EF #7CEF62
analogous
#8E62EF #D562EF #EF62C2
triadic
#D562EF #EFD562 #62EFD5
tetradic
#D562EF #EF8E62 #7CEF62 #62C2EF
square
#D562EF #EF8E62 #7CEF62 #62C2EF
split-complementary
#D562EF #C2EF62 #62EF8E
monochromatic
#A214C3 #C62AE9 #D562EF #E49AF5 #F3D1FA

Accessibility & contrast

On white

3.08
#D562EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#D562EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D562EF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562EF#FFFFFF#000000##000000
##D562EF1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF3
Deuteranopia (green-blind)
#6D97EB
Tritanopia (blue-blind)
#D678A0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d562ef;
/* rgb */ color: rgb(213, 98, 239);
/* oklch */ color: oklch(69.1% 0.222 319.9);
Tailwind
colors: {
  custom: {
    50: '#e595f5',
    500: '#d562ef',
    950: '#000000',
  },
}
SCSS
$custom: #d562ef;
$custom-light: #e595f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d562ef",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 288.936,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69052,
    "c": 0.22235,
    "h": 319.9
  },
  "luminance": 0.29113
}

Semantic roles & 50–950 ramp

primary
#D562EF
secondary
#C8EEBF
accent
#DE082F
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D562EF

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

Preview Lab → · Contrast checker → · Palette generator →

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