#D662DF#D662DF
#D662DF is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.3% C 0.208 H 324.7°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #D662DF |
|---|---|
| RGB | rgb(214, 98, 223) |
| HSL | hsl(296, 66%, 63%) |
| HSV | hsv(296, 56%, 87%) |
| CMYK | cmyk(4%, 56.1%, 0%, 12.5%) |
| CIE-LAB | lab(60.21, 62.39, -43.55) |
| CIE-LCH | lch(60.21, 76.08, 325.09°) |
| OKLab | oklab(68.33% 0.1701 -0.1204) |
| OKLCH | oklch(68.33% 0.208 324.7) |
| XYZ | xyz(45.4174, 28.3617, 72.8798) |
| Luminance | 0.2836 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.83
Heliotrope
#D94FF5
ΔE00 4.38
Pinkish Purple
#D648D7
ΔE00 4.54
Purpleish Pink
#DF4EC8
ΔE00 5.17
Bright Lilac
#C95EFB
ΔE00 5.68
Light Magenta
#FA5FF7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D662DF #6BDF62
analogous
#9762DF #D662DF #DF62A9
triadic
#D662DF #DFD662 #62DFD6
tetradic
#D662DF #DF9762 #6BDF62 #62A9DF
square
#D662DF #DF9762 #6BDF62 #62A9DF
split-complementary
#D662DF #A9DF62 #62DF97
monochromatic
#9C22A5 #C92FD5 #D662DF #E395E9 #F1C8F4
Accessibility & contrast
On white
3.15
#D662DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#D662DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D662DF
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D662DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D662DF | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5088E3
Deuteranopia (green-blind)
#7796DC
Tritanopia (blue-blind)
#DA7398
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #d662df; /* rgb */ color: rgb(214, 98, 223); /* oklch */ color: oklch(68.3% 0.208 324.7);
Tailwind
colors: {
custom: {
50: '#e594e9',
500: '#d662df',
950: '#000000',
},
}SCSS
$custom: #d662df; $custom-light: #e594e9; $custom-dark: #000000;
JSON
{
"hex": "#d662df",
"rgb": {
"r": 214,
"g": 98,
"b": 223
},
"hsl": {
"h": 295.68,
"s": 66.138,
"l": 62.941
},
"oklch": {
"l": 0.68331,
"c": 0.2084,
"h": 324.7
},
"luminance": 0.28359
}Semantic roles & 50–950 ramp
primary
#D662DF
secondary
#BBE5B8
accent
#CE1725
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84