#D566EF#D566EF

#D566EF is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.5% C 0.217 H 319.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#D566EF
RGBrgb(213, 102, 239)
HSLhsl(289, 81%, 67%)
HSVhsv(289, 57%, 94%)
CMYKcmyk(10.9%, 57.3%, 0%, 6.3%)
CIE-LABlab(61.55, 63.25, -50.37)
CIE-LCHlch(61.55, 80.86, 321.47°)
OKLaboklab(69.54% 0.1651 -0.1403)
OKLCHoklch(69.54% 0.217 319.7)
XYZxyz(47.7700, 29.8829, 84.8963)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D566EF #80EF66
analogous
#9166EF #D566EF #EF66C5
triadic
#D566EF #EFD566 #66EFD5
tetradic
#D566EF #EF9166 #80EF66 #66C5EF
square
#D566EF #EF9166 #80EF66 #66C5EF
split-complementary
#D566EF #C5EF66 #66EF91
monochromatic
#A415C6 #C62FE9 #D566EF #E49DF5 #F3D5FB

Accessibility & contrast

On white

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

On black

6.98
#D566EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D566EF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D566EF#FFFFFF#000000##000000
##D566EF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#7099EB
Tritanopia (blue-blind)
#D67BA1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d566ef;
/* rgb */ color: rgb(213, 102, 239);
/* oklch */ color: oklch(69.5% 0.217 319.7);
Tailwind
colors: {
  custom: {
    50: '#e597f5',
    500: '#d566ef',
    950: '#000000',
  },
}
SCSS
$custom: #d566ef;
$custom-light: #e597f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d566ef",
  "rgb": {
    "r": 213,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 288.613,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6954,
    "c": 0.21665,
    "h": 319.7
  },
  "luminance": 0.29881
}

Semantic roles & 50–950 ramp

primary
#D566EF
secondary
#CBEEC2
accent
#DD0831
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D566EF

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

Preview Lab → · Contrast checker → · Palette generator →

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