#D66CEF#D66CEF

#D66CEF is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.4% C 0.208 H 319.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#D66CEF
RGBrgb(214, 108, 239)
HSLhsl(289, 80%, 68%)
HSVhsv(289, 55%, 94%)
CMYKcmyk(10.5%, 54.8%, 0%, 6.3%)
CIE-LABlab(62.72, 60.70, -48.51)
CIE-LCHlch(62.72, 77.70, 321.37°)
OKLaboklab(70.42% 0.1588 -0.1349)
OKLCHoklch(70.42% 0.208 319.7)
XYZxyz(48.6721, 31.2553, 85.1137)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D66CEF #85EF6C
analogous
#956CEF #D66CEF #EF6CC6
triadic
#D66CEF #EFD66C #6CEFD6
tetradic
#D66CEF #EF956C #85EF6C #6CC6EF
square
#D66CEF #EF956C #85EF6C #6CC6EF
split-complementary
#D66CEF #C6EF6C #6CEF95
monochromatic
#A816CB #C735E9 #D66CEF #E5A3F5 #F5DAFB

Accessibility & contrast

On white

2.90
#D66CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#D66CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D66CEF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D66CEF#FFFFFF#000000##000000
##D66CEF1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#D780A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d66cef;
/* rgb */ color: rgb(214, 108, 239);
/* oklch */ color: oklch(70.4% 0.208 319.7);
Tailwind
colors: {
  custom: {
    50: '#e59bf5',
    500: '#d66cef',
    950: '#000000',
  },
}
SCSS
$custom: #d66cef;
$custom-light: #e59bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d66cef",
  "rgb": {
    "r": 214,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 288.55,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70423,
    "c": 0.20831,
    "h": 319.7
  },
  "luminance": 0.31253
}

Semantic roles & 50–950 ramp

primary
#D66CEF
secondary
#CFEFC7
accent
#DD0931
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D66CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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