#D566EB#D566EB

#D566EB is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.3% C 0.213 H 320.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#D566EB
RGBrgb(213, 102, 235)
HSLhsl(290, 77%, 66%)
HSVhsv(290, 57%, 92%)
CMYKcmyk(9.4%, 56.6%, 0%, 7.8%)
CIE-LABlab(61.35, 62.50, -48.47)
CIE-LCHlch(61.35, 79.09, 322.21°)
OKLaboklab(69.33% 0.1649 -0.1347)
OKLCHoklch(69.33% 0.213 320.8)
XYZxyz(47.1856, 29.6492, 81.8185)
Luminance0.2965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D566EB #7CEB66
analogous
#9266EB #D566EB #EB66BE
triadic
#D566EB #EBD566 #66EBD5
tetradic
#D566EB #EB9266 #7CEB66 #66BEEB
square
#D566EB #EB9266 #7CEB66 #66BEEB
split-complementary
#D566EB #BEEB66 #66EB92
monochromatic
#A219BE #C630E4 #D566EB #E49CF2 #F3D2F9

Accessibility & contrast

On white

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

On black

6.93
#D566EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D566EB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D566EB#FFFFFF#000000##000000
##D566EB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEF
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#D77A9F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d566eb;
/* rgb */ color: rgb(213, 102, 235);
/* oklch */ color: oklch(69.3% 0.213 320.8);
Tailwind
colors: {
  custom: {
    50: '#e597f2',
    500: '#d566eb',
    950: '#000000',
  },
}
SCSS
$custom: #d566eb;
$custom-light: #e597f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d566eb",
  "rgb": {
    "r": 213,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 290.075,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69327,
    "c": 0.21293,
    "h": 320.8
  },
  "luminance": 0.29647
}

Semantic roles & 50–950 ramp

primary
#D566EB
secondary
#C8ECC1
accent
#D90C2E
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D566EB

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

Preview Lab → · Contrast checker → · Palette generator →

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