#D566FC#D566FC

#D566FC is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.3% C 0.229 H 316.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D566FC
RGBrgb(213, 102, 252)
HSLhsl(284, 96%, 69%)
HSVhsv(284, 60%, 99%)
CMYKcmyk(15.5%, 59.5%, 0%, 1.2%)
CIE-LABlab(62.24, 65.76, -56.47)
CIE-LCHlch(62.24, 86.68, 319.34°)
OKLaboklab(70.26% 0.1656 -0.158)
OKLCHoklch(70.26% 0.229 316.3)
XYZxyz(49.7600, 30.6789, 95.3770)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D566FC #8DFC66
analogous
#8A66FC #D566FC #FC66D8
triadic
#D566FC #FCD566 #66FCD5
tetradic
#D566FC #FC8A66 #8DFC66 #66D8FC
square
#D566FC #FC8A66 #8DFC66 #66D8FC
split-complementary
#D566FC #D8FC66 #66FC8A
monochromatic
#A904E3 #C52AFB #D566FC #E5A2FD #F6DEFE

Accessibility & contrast

On white

2.94
#D566FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#D566FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D566FC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D566FC#FFFFFF#000000##000000
##D566FC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A90FF
Deuteranopia (green-blind)
#679AF8
Tritanopia (blue-blind)
#D380A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d566fc;
/* rgb */ color: rgb(213, 102, 252);
/* oklch */ color: oklch(70.3% 0.229 316.3);
Tailwind
colors: {
  custom: {
    50: '#e597fe',
    500: '#d566fc',
    950: '#000000',
  },
}
SCSS
$custom: #d566fc;
$custom-light: #e597fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d566fc",
  "rgb": {
    "r": 213,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 284.4,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70259,
    "c": 0.22891,
    "h": 316.3
  },
  "luminance": 0.30677
}

Semantic roles & 50–950 ramp

primary
#D566FC
secondary
#D5F5C9
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D566FC

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

Preview Lab → · Contrast checker → · Palette generator →

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