#D780CD#D780CD
#D780CD is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.8% C 0.145 H 331.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D780CD |
|---|---|
| RGB | rgb(215, 128, 205) |
| HSL | hsl(307, 52%, 67%) |
| HSV | hsv(307, 40%, 84%) |
| CMYK | cmyk(0%, 40.5%, 4.7%, 15.7%) |
| CIE-LAB | lab(65.20, 44.74, -25.69) |
| CIE-LCH | lch(65.20, 51.59, 330.13°) |
| OKLab | oklab(71.8% 0.1267 -0.0696) |
| OKLCH | oklch(71.8% 0.145 331.2) |
| XYZ | xyz(46.7624, 34.2956, 61.9023) |
| Luminance | 0.3429 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 1.96
Orchid (survey)
#C875C4
ΔE00 3.86
Orchid
#DA70D6
ΔE00 4.35
Purply Pink
#F075E6
ΔE00 5.57
Violet (CSS)
#EE82EE
ΔE00 5.82
Pale Magenta
#D767AD
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D780CD #80D78A
analogous
#B680D7 #D780CD #D780A1
triadic
#D780CD #CDD780 #80CDD7
tetradic
#D780CD #D7B680 #80D78A #80A1D7
square
#D780CD #D7B680 #80D78A #80A1D7
split-complementary
#D780CD #A1D780 #80D7B6
monochromatic
#A8359B #C851BB #D780CD #E6AFDF #F4DDF2
Accessibility & contrast
On white
2.67
#D780CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#D780CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D780CD
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D780CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D780CD | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D97D0
Deuteranopia (green-blind)
#94A3CA
Tritanopia (blue-blind)
#DE869D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #d780cd; /* rgb */ color: rgb(215, 128, 205); /* oklch */ color: oklch(71.8% 0.145 331.2);
Tailwind
colors: {
custom: {
50: '#e5a7dc',
500: '#d780cd',
950: '#000000',
},
}SCSS
$custom: #d780cd; $custom-light: #e5a7dc; $custom-dark: #000000;
JSON
{
"hex": "#d780cd",
"rgb": {
"r": 215,
"g": 128,
"b": 205
},
"hsl": {
"h": 306.897,
"s": 52.096,
"l": 67.255
},
"oklch": {
"l": 0.718,
"c": 0.14459,
"h": 331.2
},
"luminance": 0.34293
}Semantic roles & 50–950 ramp
primary
#D780CD
secondary
#CCE7CF
accent
#C03826
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83