#D462DC#D462DC
#D462DC is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 67.9% C 0.205 H 325.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #D462DC |
|---|---|
| RGB | rgb(212, 98, 220) |
| HSL | hsl(296, 64%, 62%) |
| HSV | hsv(296, 55%, 86%) |
| CMYK | cmyk(3.6%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(59.80, 61.34, -42.53) |
| CIE-LCH | lch(59.80, 74.64, 325.26°) |
| OKLab | oklab(67.93% 0.1676 -0.1175) |
| OKLCH | oklch(67.93% 0.205 325) |
| XYZ | xyz(44.4363, 27.9021, 70.7413) |
| Luminance | 0.2790 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.81
Pinkish Purple
#D648D7
ΔE00 4.36
Heliotrope
#D94FF5
ΔE00 4.64
Purpleish Pink
#DF4EC8
ΔE00 4.93
Bright Lilac
#C95EFB
ΔE00 5.89
Orchid (survey)
#C875C4
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D462DC #6ADC62
analogous
#9762DC #D462DC #DC62A7
triadic
#D462DC #DCD462 #62DCD4
tetradic
#D462DC #DC9762 #6ADC62 #62A7DC
square
#D462DC #DC9762 #6ADC62 #62A7DC
split-complementary
#D462DC #A7DC62 #62DC97
monochromatic
#9824A0 #C630D1 #D462DC #E294E7 #EFC6F2
Accessibility & contrast
On white
3.19
#D462DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#D462DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D462DC
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D462DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D462DC | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#7795D9
Tritanopia (blue-blind)
#D87296
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #d462dc; /* rgb */ color: rgb(212, 98, 220); /* oklch */ color: oklch(67.9% 0.205 325.0);
Tailwind
colors: {
custom: {
50: '#e494e7',
500: '#d462dc',
950: '#000000',
},
}SCSS
$custom: #d462dc; $custom-light: #e494e7; $custom-dark: #000000;
JSON
{
"hex": "#d462dc",
"rgb": {
"r": 212,
"g": 98,
"b": 220
},
"hsl": {
"h": 296.066,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.67926,
"c": 0.20466,
"h": 325
},
"luminance": 0.279
}Semantic roles & 50–950 ramp
primary
#D462DC
secondary
#BAE3B7
accent
#CB1A26
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84