#D480EF#D480EF
#D480EF is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.0% C 0.176 H 317.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #D480EF |
|---|---|
| RGB | rgb(212, 128, 239) |
| HSL | hsl(285, 78%, 72%) |
| HSV | hsv(285, 46%, 94%) |
| CMYK | cmyk(11.3%, 46.4%, 0%, 6.3%) |
| CIE-LAB | lab(66.27, 50.23, -42.94) |
| CIE-LCH | lch(66.27, 66.09, 319.47°) |
| OKLab | oklab(72.99% 0.1299 -0.1189) |
| OKLCH | oklch(72.99% 0.176 317.5) |
| XYZ | xyz(50.4483, 35.6690, 85.8720) |
| Luminance | 0.3567 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.92
Light Purple
#BF77F6
ΔE00 5.18
Liliac
#C48EFD
ΔE00 5.51
Orchid
#DA70D6
ΔE00 5.53
Purply Pink
#F075E6
ΔE00 5.80
Lavender Pink
#DD85D7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D480EF #9BEF80
analogous
#9D80EF #D480EF #EF80D3
triadic
#D480EF #EFD480 #80EFD4
tetradic
#D480EF #EF9D80 #9BEF80 #80D3EF
square
#D480EF #EF9D80 #9BEF80 #80D3EF
split-complementary
#D480EF #D3EF80 #80EF9D
monochromatic
#AB1BD9 #C24AE8 #D480EF #E6B6F6 #F6E4FC
Accessibility & contrast
On white
2.58
#D480EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#D480EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D480EF
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D480EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D480EF | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#D48FAC
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d480ef; /* rgb */ color: rgb(212, 128, 239); /* oklch */ color: oklch(73.0% 0.176 317.5);
Tailwind
colors: {
custom: {
50: '#e3a7f4',
500: '#d480ef',
950: '#000000',
},
}SCSS
$custom: #d480ef; $custom-light: #e3a7f4; $custom-dark: #000000;
JSON
{
"hex": "#d480ef",
"rgb": {
"r": 212,
"g": 128,
"b": 239
},
"hsl": {
"h": 285.405,
"s": 77.622,
"l": 71.961
},
"oklch": {
"l": 0.72989,
"c": 0.1761,
"h": 317.5
},
"luminance": 0.35667
}Semantic roles & 50–950 ramp
primary
#D480EF
secondary
#DEF3D7
accent
#DA0C3E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85