#D566EC#D566EC

#D566EC is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.4% C 0.214 H 320.5°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#D566EC
RGBrgb(213, 102, 236)
HSLhsl(290, 78%, 66%)
HSVhsv(290, 57%, 93%)
CMYKcmyk(9.7%, 56.8%, 0%, 7.5%)
CIE-LABlab(61.40, 62.69, -48.94)
CIE-LCHlch(61.40, 79.53, 322.02°)
OKLaboklab(69.38% 0.165 -0.1361)
OKLCHoklch(69.38% 0.214 320.5)
XYZxyz(47.3305, 29.7071, 82.5816)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D566EC #7DEC66
analogous
#9266EC #D566EC #EC66C0
triadic
#D566EC #ECD566 #66ECD5
tetradic
#D566EC #EC9266 #7DEC66 #66C0EC
square
#D566EC #EC9266 #7DEC66 #66C0EC
split-complementary
#D566EC #C0EC66 #66EC92
monochromatic
#A318C0 #C630E5 #D566EC #E49CF3 #F3D3FA

Accessibility & contrast

On white

3.03
#D566EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#D566EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D566EC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D566EC#FFFFFF#000000##000000
##D566EC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CF0
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#D67AA0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d566ec;
/* rgb */ color: rgb(213, 102, 236);
/* oklch */ color: oklch(69.4% 0.214 320.5);
Tailwind
colors: {
  custom: {
    50: '#e597f3',
    500: '#d566ec',
    950: '#000000',
  },
}
SCSS
$custom: #d566ec;
$custom-light: #e597f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d566ec",
  "rgb": {
    "r": 213,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 289.701,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6938,
    "c": 0.21385,
    "h": 320.5
  },
  "luminance": 0.29705
}

Semantic roles & 50–950 ramp

primary
#D566EC
secondary
#C9EDC1
accent
#DA0B2F
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D566EC

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

Preview Lab → · Contrast checker → · Palette generator →

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