#D780F8#D780F8
#D780F8 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.8% C 0.187 H 316.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #D780F8 |
|---|---|
| RGB | rgb(215, 128, 248) |
| HSL | hsl(284, 90%, 74%) |
| HSV | hsv(284, 48%, 97%) |
| CMYK | cmyk(13.3%, 48.4%, 0%, 2.7%) |
| CIE-LAB | lab(67.02, 52.86, -46.68) |
| CIE-LCH | lch(67.02, 70.52, 318.56°) |
| OKLab | oklab(73.76% 0.1346 -0.1296) |
| OKLCH | oklch(73.76% 0.187 316.1) |
| XYZ | xyz(52.6842, 36.6643, 93.0904) |
| Luminance | 0.3666 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.95
Liliac
#C48EFD
ΔE00 5.12
Violet (CSS)
#EE82EE
ΔE00 5.24
Easter Purple
#C071FE
ΔE00 5.95
Purply Pink
#F075E6
ΔE00 6.26
Orchid
#DA70D6
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D780F8 #A1F880
analogous
#9B80F8 #D780F8 #F880DD
triadic
#D780F8 #F8D780 #80F8D7
tetradic
#D780F8 #F89B80 #A1F880 #80DDF8
square
#D780F8 #F89B80 #A1F880 #80DDF8
split-complementary
#D780F8 #DDF880 #80F89B
monochromatic
#B20DF0 #C546F5 #D780F8 #E9BAFB #F6E2FD
Accessibility & contrast
On white
2.52
#D780F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#D780F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D780F8
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D780F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D780F8 | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689EFC
Deuteranopia (green-blind)
#82A6F5
Tritanopia (blue-blind)
#D592B1
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d780f8; /* rgb */ color: rgb(215, 128, 248); /* oklch */ color: oklch(73.8% 0.187 316.1);
Tailwind
colors: {
custom: {
50: '#e5a7fb',
500: '#d780f8',
950: '#000000',
},
}SCSS
$custom: #d780f8; $custom-light: #e5a7fb; $custom-dark: #000000;
JSON
{
"hex": "#d780f8",
"rgb": {
"r": 215,
"g": 128,
"b": 248
},
"hsl": {
"h": 283.5,
"s": 89.552,
"l": 73.725
},
"oklch": {
"l": 0.73763,
"c": 0.18686,
"h": 316.1
},
"luminance": 0.36663
}Semantic roles & 50–950 ramp
primary
#D780F8
secondary
#DEF5D6
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85