#D562F6#D562F6

#D562F6 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.4% C 0.229 H 318.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#D562F6
RGBrgb(213, 98, 246)
HSLhsl(287, 89%, 67%)
HSVhsv(287, 60%, 96%)
CMYKcmyk(13.4%, 60.2%, 0%, 3.5%)
CIE-LABlab(61.25, 66.40, -54.73)
CIE-LCHlch(61.25, 86.05, 320.51°)
OKLaboklab(69.44% 0.1702 -0.1529)
OKLCHoklch(69.44% 0.229 318.1)
XYZxyz(48.4405, 29.5373, 90.3206)
Luminance0.2954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562F6 #83F662
analogous
#8B62F6 #D562F6 #F662CD
triadic
#D562F6 #F6D562 #62F6D5
tetradic
#D562F6 #F68B62 #83F662 #62CDF6
square
#D562F6 #F68B62 #83F662 #62CDF6
split-complementary
#D562F6 #CDF662 #62F68B
monochromatic
#A60CD2 #C628F3 #D562F6 #E49CF9 #F4D6FD

Accessibility & contrast

On white

3.04
#D562F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#D562F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D562F6
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562F6#FFFFFF#000000##000000
##D562F61.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CFB
Deuteranopia (green-blind)
#6898F2
Tritanopia (blue-blind)
#D47BA3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d562f6;
/* rgb */ color: rgb(213, 98, 246);
/* oklch */ color: oklch(69.4% 0.229 318.1);
Tailwind
colors: {
  custom: {
    50: '#e595fa',
    500: '#d562f6',
    950: '#000000',
  },
}
SCSS
$custom: #d562f6;
$custom-light: #e595fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d562f6",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 286.622,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6944,
    "c": 0.22881,
    "h": 318.1
  },
  "luminance": 0.29535
}

Semantic roles & 50–950 ramp

primary
#D562F6
secondary
#CDF1C3
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D562F6

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

Preview Lab → · Contrast checker → · Palette generator →

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