#D66AFC#D66AFC

#D66AFC is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.9% C 0.224 H 316.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#D66AFC
RGBrgb(214, 106, 252)
HSLhsl(284, 96%, 70%)
HSVhsv(284, 58%, 99%)
CMYKcmyk(15.1%, 57.9%, 0%, 1.2%)
CIE-LABlab(63.04, 64.16, -55.19)
CIE-LCHlch(63.04, 84.63, 319.30°)
OKLaboklab(70.87% 0.162 -0.1543)
OKLCHoklch(70.87% 0.224 316.4)
XYZxyz(50.4536, 31.6343, 95.5249)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D66AFC #90FC6A
analogous
#8D6AFC #D66AFC #FC6AD9
triadic
#D66AFC #FCD66A #6AFCD6
tetradic
#D66AFC #FC8D6A #90FC6A #6AD9FC
square
#D66AFC #FC8D6A #90FC6A #6AD9FC
split-complementary
#D66AFC #D9FC6A #6AFC8D
monochromatic
#AC05E7 #C52EFB #D66AFC #E7A6FD #F7E1FE

Accessibility & contrast

On white

2.87
#D66AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#D66AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D66AFC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D66AFC#FFFFFF#000000##000000
##D66AFC1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#D483A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d66afc;
/* rgb */ color: rgb(214, 106, 252);
/* oklch */ color: oklch(70.9% 0.224 316.4);
Tailwind
colors: {
  custom: {
    50: '#e69afe',
    500: '#d66afc',
    950: '#000000',
  },
}
SCSS
$custom: #d66afc;
$custom-light: #e69afe;
$custom-dark: #000000;
JSON
{
  "hex": "#d66afc",
  "rgb": {
    "r": 214,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 284.384,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7087,
    "c": 0.22369,
    "h": 316.4
  },
  "luminance": 0.31632
}

Semantic roles & 50–950 ramp

primary
#D66AFC
secondary
#D7F5CD
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D66AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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