#D562FB#D562FB

#D562FB is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.7% C 0.233 H 316.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#D562FB
RGBrgb(213, 98, 251)
HSLhsl(285, 95%, 68%)
HSVhsv(285, 61%, 98%)
CMYKcmyk(15.1%, 61%, 0%, 1.6%)
CIE-LABlab(61.52, 67.36, -57.06)
CIE-LCHlch(61.52, 88.28, 319.73°)
OKLaboklab(69.72% 0.1703 -0.1597)
OKLCHoklch(69.72% 0.233 316.8)
XYZxyz(49.2183, 29.8484, 94.4168)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562FB #88FB62
analogous
#8862FB #D562FB #FB62D4
triadic
#D562FB #FBD562 #62FBD5
tetradic
#D562FB #FB8862 #88FB62 #62D4FB
square
#D562FB #FB8862 #88FB62 #62D4FB
split-complementary
#D562FB #D4FB62 #62FB88
monochromatic
#A706DD #C526F9 #D562FB #E59EFD #F5D9FE

Accessibility & contrast

On white

3.01
#D562FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#D562FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D562FB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562FB#FFFFFF#000000##000000
##D562FB1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#328DFF
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#D37DA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d562fb;
/* rgb */ color: rgb(213, 98, 251);
/* oklch */ color: oklch(69.7% 0.233 316.8);
Tailwind
colors: {
  custom: {
    50: '#e595fd',
    500: '#d562fb',
    950: '#000000',
  },
}
SCSS
$custom: #d562fb;
$custom-light: #e595fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d562fb",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 285.098,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69724,
    "c": 0.23346,
    "h": 316.8
  },
  "luminance": 0.29847
}

Semantic roles & 50–950 ramp

primary
#D562FB
secondary
#D1F3C5
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D562FB

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

Preview Lab → · Contrast checker → · Palette generator →

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