#D780F2#D780F2
#D780F2 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.5% C 0.181 H 317.8°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D780F2 |
|---|---|
| RGB | rgb(215, 128, 242) |
| HSL | hsl(286, 81%, 73%) |
| HSV | hsv(286, 47%, 95%) |
| CMYK | cmyk(11.2%, 47.1%, 0%, 5.1%) |
| CIE-LAB | lab(66.75, 51.66, -43.82) |
| CIE-LCH | lch(66.75, 67.74, 319.70°) |
| OKLab | oklab(73.47% 0.1338 -0.1214) |
| OKLCH | oklch(73.47% 0.181 317.8) |
| XYZ | xyz(51.7683, 36.2979, 88.2664) |
| Luminance | 0.3630 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.63
Light Purple
#BF77F6
ΔE00 5.40
Purply Pink
#F075E6
ΔE00 5.59
Liliac
#C48EFD
ΔE00 5.61
Orchid
#DA70D6
ΔE00 5.70
Lavender Pink
#DD85D7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D780F2 #9BF280
analogous
#9E80F2 #D780F2 #F280D4
triadic
#D780F2 #F2D780 #80F2D7
tetradic
#D780F2 #F29E80 #9BF280 #80D4F2
square
#D780F2 #F29E80 #9BF280 #80D4F2
split-complementary
#D780F2 #D4F280 #80F29E
monochromatic
#B117E1 #C648EC #D780F2 #E8B8F8 #F6E3FC
Accessibility & contrast
On white
2.54
#D780F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#D780F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D780F2
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D780F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D780F2 | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#85A5EF
Tritanopia (blue-blind)
#D790AE
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d780f2; /* rgb */ color: rgb(215, 128, 242); /* oklch */ color: oklch(73.5% 0.181 317.8);
Tailwind
colors: {
custom: {
50: '#e5a7f7',
500: '#d780f2',
950: '#000000',
},
}SCSS
$custom: #d780f2; $custom-light: #e5a7f7; $custom-dark: #000000;
JSON
{
"hex": "#d780f2",
"rgb": {
"r": 215,
"g": 128,
"b": 242
},
"hsl": {
"h": 285.789,
"s": 81.429,
"l": 72.549
},
"oklch": {
"l": 0.73467,
"c": 0.18065,
"h": 317.8
},
"luminance": 0.36296
}Semantic roles & 50–950 ramp
primary
#D780F2
secondary
#DEF4D7
accent
#DE083A
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85