#D666FC#D666FC

#D666FC is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.4% C 0.229 H 316.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#D666FC
RGBrgb(214, 102, 252)
HSLhsl(285, 96%, 69%)
HSVhsv(285, 60%, 99%)
CMYKcmyk(15.1%, 59.5%, 0%, 1.2%)
CIE-LABlab(62.36, 65.99, -56.26)
CIE-LCHlch(62.36, 86.72, 319.55°)
OKLaboklab(70.38% 0.1668 -0.1574)
OKLCHoklch(70.38% 0.229 316.7)
XYZxyz(50.0510, 30.8290, 95.3907)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D666FC #8CFC66
analogous
#8B66FC #D666FC #FC66D7
triadic
#D666FC #FCD666 #66FCD6
tetradic
#D666FC #FC8B66 #8CFC66 #66D7FC
square
#D666FC #FC8B66 #8CFC66 #66D7FC
split-complementary
#D666FC #D7FC66 #66FC8B
monochromatic
#AB04E3 #C62AFB #D666FC #E6A2FD #F6DEFE

Accessibility & contrast

On white

2.93
#D666FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D666FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D666FC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D666FC#FFFFFF#000000##000000
##D666FC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A90FF
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#D480A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d666fc;
/* rgb */ color: rgb(214, 102, 252);
/* oklch */ color: oklch(70.4% 0.229 316.7);
Tailwind
colors: {
  custom: {
    50: '#e697fe',
    500: '#d666fc',
    950: '#000000',
  },
}
SCSS
$custom: #d666fc;
$custom-light: #e697fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d666fc",
  "rgb": {
    "r": 214,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 284.8,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70378,
    "c": 0.22932,
    "h": 316.7
  },
  "luminance": 0.30827
}

Semantic roles & 50–950 ramp

primary
#D666FC
secondary
#D4F5C9
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D666FC

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

Preview Lab → · Contrast checker → · Palette generator →

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