#D066EC#D066EC

#D066EC is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 68.8% C 0.212 H 318.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#D066EC
RGBrgb(208, 102, 236)
HSLhsl(287, 78%, 66%)
HSVhsv(287, 57%, 93%)
CMYKcmyk(11.9%, 56.8%, 0%, 7.5%)
CIE-LABlab(60.76, 61.44, -50.00)
CIE-LCHlch(60.76, 79.22, 320.86°)
OKLaboklab(68.77% 0.1592 -0.1393)
OKLCHoklch(68.77% 0.212 318.8)
XYZxyz(45.9021, 28.9706, 82.5146)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D066EC #82EC66
analogous
#8D66EC #D066EC #EC66C5
triadic
#D066EC #ECD066 #66ECD0
tetradic
#D066EC #EC8D66 #82EC66 #66C5EC
square
#D066EC #EC8D66 #82EC66 #66C5EC
split-complementary
#D066EC #C5EC66 #66EC8D
monochromatic
#9D18C0 #BF30E5 #D066EC #E19CF3 #F1D3FA

Accessibility & contrast

On white

3.09
#D066EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#D066EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D066EC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D066EC#FFFFFF#000000##000000
##D066EC1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BF0
Deuteranopia (green-blind)
#6E96E9
Tritanopia (blue-blind)
#D07BA0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d066ec;
/* rgb */ color: rgb(208, 102, 236);
/* oklch */ color: oklch(68.8% 0.212 318.8);
Tailwind
colors: {
  custom: {
    50: '#e196f3',
    500: '#d066ec',
    950: '#000000',
  },
}
SCSS
$custom: #d066ec;
$custom-light: #e196f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d066ec",
  "rgb": {
    "r": 208,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 287.463,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68773,
    "c": 0.21154,
    "h": 318.8
  },
  "luminance": 0.28969
}

Semantic roles & 50–950 ramp

primary
#D066EC
secondary
#CAEDC1
accent
#DA0B37
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D066EC

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

Preview Lab → · Contrast checker → · Palette generator →

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