#D562F2#D562F2

#D562F2 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.2% C 0.225 H 319.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#D562F2
RGBrgb(213, 98, 242)
HSLhsl(288, 85%, 67%)
HSVhsv(288, 60%, 95%)
CMYKcmyk(12%, 59.5%, 0%, 5.1%)
CIE-LABlab(61.04, 65.64, -52.85)
CIE-LCHlch(61.04, 84.27, 321.16°)
OKLaboklab(69.22% 0.1701 -0.1474)
OKLCHoklch(69.22% 0.225 319.1)
XYZxyz(47.8332, 29.2944, 87.1219)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562F2 #7FF262
analogous
#8D62F2 #D562F2 #F262C7
triadic
#D562F2 #F2D562 #62F2D5
tetradic
#D562F2 #F28D62 #7FF262 #62C7F2
square
#D562F2 #F28D62 #7FF262 #62C7F2
split-complementary
#D562F2 #C7F262 #62F28D
monochromatic
#A411C9 #C629ED #D562F2 #E49BF7 #F3D3FB

Accessibility & contrast

On white

3.06
#D562F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#D562F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D562F2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562F2#FFFFFF#000000##000000
##D562F21.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF6
Deuteranopia (green-blind)
#6B97EE
Tritanopia (blue-blind)
#D579A1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d562f2;
/* rgb */ color: rgb(213, 98, 242);
/* oklch */ color: oklch(69.2% 0.225 319.1);
Tailwind
colors: {
  custom: {
    50: '#e595f7',
    500: '#d562f2',
    950: '#000000',
  },
}
SCSS
$custom: #d562f2;
$custom-light: #e595f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d562f2",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 287.917,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69217,
    "c": 0.22511,
    "h": 319.1
  },
  "luminance": 0.29292
}

Semantic roles & 50–950 ramp

primary
#D562F2
secondary
#CAEFC1
accent
#E10431
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D562F2

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

Preview Lab → · Contrast checker → · Palette generator →

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