#D780F4#D780F4
#D780F4 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.6% C 0.183 H 317.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #D780F4 |
|---|---|
| RGB | rgb(215, 128, 244) |
| HSL | hsl(285, 84%, 73%) |
| HSV | hsv(285, 48%, 96%) |
| CMYK | cmyk(11.9%, 47.5%, 0%, 4.3%) |
| CIE-LAB | lab(66.84, 52.06, -44.77) |
| CIE-LCH | lch(66.84, 68.66, 319.30°) |
| OKLab | oklab(73.57% 0.1341 -0.1241) |
| OKLCH | oklch(73.57% 0.183 317.2) |
| XYZ | xyz(52.0703, 36.4187, 89.8570) |
| Luminance | 0.3642 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.82
Light Purple
#BF77F6
ΔE00 5.23
Liliac
#C48EFD
ΔE00 5.43
Purply Pink
#F075E6
ΔE00 5.81
Orchid
#DA70D6
ΔE00 5.97
Easter Purple
#C071FE
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D780F4 #9DF480
analogous
#9D80F4 #D780F4 #F480D7
triadic
#D780F4 #F4D780 #80F4D7
tetradic
#D780F4 #F49D80 #9DF480 #80D7F4
square
#D780F4 #F49D80 #9DF480 #80D7F4
split-complementary
#D780F4 #D7F480 #80F49D
monochromatic
#B114E6 #C548EF #D780F4 #E9B8F9 #F6E3FD
Accessibility & contrast
On white
2.54
#D780F4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#D780F4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D780F4
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D780F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D780F4 | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A9DF8
Deuteranopia (green-blind)
#84A5F1
Tritanopia (blue-blind)
#D691AF
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d780f4; /* rgb */ color: rgb(215, 128, 244); /* oklch */ color: oklch(73.6% 0.183 317.2);
Tailwind
colors: {
custom: {
50: '#e5a7f8',
500: '#d780f4',
950: '#000000',
},
}SCSS
$custom: #d780f4; $custom-light: #e5a7f8; $custom-dark: #000000;
JSON
{
"hex": "#d780f4",
"rgb": {
"r": 215,
"g": 128,
"b": 244
},
"hsl": {
"h": 285,
"s": 84.058,
"l": 72.941
},
"oklch": {
"l": 0.73565,
"c": 0.18271,
"h": 317.2
},
"luminance": 0.36417
}Semantic roles & 50–950 ramp
primary
#D780F4
secondary
#DEF5D6
accent
#E1053C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85