#D566F7#D566F7

#D566F7 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.0% C 0.224 H 317.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#D566F7
RGBrgb(213, 102, 247)
HSLhsl(286, 90%, 68%)
HSVhsv(286, 59%, 97%)
CMYKcmyk(13.8%, 58.7%, 0%, 3.1%)
CIE-LABlab(61.97, 64.79, -54.14)
CIE-LCHlch(61.97, 84.43, 320.12°)
OKLaboklab(69.98% 0.1655 -0.1512)
OKLCHoklch(69.98% 0.224 317.6)
XYZxyz(48.9781, 30.3662, 91.2590)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D566F7 #88F766
analogous
#8C66F7 #D566F7 #F766D0
triadic
#D566F7 #F7D566 #66F7D5
tetradic
#D566F7 #F78C66 #88F766 #66D0F7
square
#D566F7 #F78C66 #88F766 #66D0F7
split-complementary
#D566F7 #D0F766 #66F78C
monochromatic
#A70BD7 #C52CF4 #D566F7 #E5A0FA #F5DAFD

Accessibility & contrast

On white

2.97
#D566F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#D566F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D566F7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D566F7#FFFFFF#000000##000000
##D566F71.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFC
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#D47EA5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d566f7;
/* rgb */ color: rgb(213, 102, 247);
/* oklch */ color: oklch(70.0% 0.224 317.6);
Tailwind
colors: {
  custom: {
    50: '#e597fa',
    500: '#d566f7',
    950: '#000000',
  },
}
SCSS
$custom: #d566f7;
$custom-light: #e597fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d566f7",
  "rgb": {
    "r": 213,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 285.931,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69978,
    "c": 0.22417,
    "h": 317.6
  },
  "luminance": 0.30364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D566F7

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

Preview Lab → · Contrast checker → · Palette generator →

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