#D562F8#D562F8

#D562F8 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.6% C 0.231 H 317.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#D562F8
RGBrgb(213, 98, 248)
HSLhsl(286, 91%, 68%)
HSVhsv(286, 60%, 97%)
CMYKcmyk(14.1%, 60.5%, 0%, 2.7%)
CIE-LABlab(61.36, 66.78, -55.66)
CIE-LCHlch(61.36, 86.94, 320.19°)
OKLaboklab(69.55% 0.1702 -0.1556)
OKLCHoklch(69.55% 0.231 317.6)
XYZxyz(48.7491, 29.6607, 91.9459)
Luminance0.2966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562F8 #85F862
analogous
#8A62F8 #D562F8 #F862D0
triadic
#D562F8 #F8D562 #62F8D5
tetradic
#D562F8 #F88A62 #85F862 #62D0F8
square
#D562F8 #F88A62 #85F862 #62D0F8
split-complementary
#D562F8 #D0F862 #62F88A
monochromatic
#A60AD6 #C527F5 #D562F8 #E59DFB #F4D7FD

Accessibility & contrast

On white

3.03
#D562F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#D562F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D562F8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562F8#FFFFFF#000000##000000
##D562F81.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFD
Deuteranopia (green-blind)
#6798F4
Tritanopia (blue-blind)
#D47CA4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d562f8;
/* rgb */ color: rgb(213, 98, 248);
/* oklch */ color: oklch(69.6% 0.231 317.6);
Tailwind
colors: {
  custom: {
    50: '#e595fb',
    500: '#d562f8',
    950: '#000000',
  },
}
SCSS
$custom: #d562f8;
$custom-light: #e595fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d562f8",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 286,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69553,
    "c": 0.23066,
    "h": 317.6
  },
  "luminance": 0.29659
}

Semantic roles & 50–950 ramp

primary
#D562F8
secondary
#CFF2C4
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D562F8

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

Preview Lab → · Contrast checker → · Palette generator →

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