#D481F2#D481F2
#D481F2 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.3% C 0.178 H 316.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #D481F2 |
|---|---|
| RGB | rgb(212, 129, 242) |
| HSL | hsl(284, 81%, 73%) |
| HSV | hsv(284, 47%, 95%) |
| CMYK | cmyk(12.4%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(66.60, 50.32, -44.07) |
| CIE-LCH | lch(66.60, 66.89, 318.79°) |
| OKLab | oklab(73.29% 0.1289 -0.1222) |
| OKLCH | oklch(73.29% 0.178 316.5) |
| XYZ | xyz(51.0263, 36.1099, 88.2692) |
| Luminance | 0.3611 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.01
Liliac
#C48EFD
ΔE00 5.09
Violet (CSS)
#EE82EE
ΔE00 5.13
Orchid
#DA70D6
ΔE00 6.04
Purply Pink
#F075E6
ΔE00 6.14
Easter Purple
#C071FE
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D481F2 #9FF281
analogous
#9C81F2 #D481F2 #F281D7
triadic
#D481F2 #F2D481 #81F2D4
tetradic
#D481F2 #F29C81 #9FF281 #81D7F2
square
#D481F2 #F29C81 #9FF281 #81D7F2
split-complementary
#D481F2 #D7F281 #81F29C
monochromatic
#AC17E1 #C14AEC #D481F2 #E7B8F8 #F6E3FC
Accessibility & contrast
On white
2.55
#D481F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#D481F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D481F2
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D481F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D481F2 | 1.00 | 2.55 | 8.22 | 8.22 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#83A5EF
Tritanopia (blue-blind)
#D391AE
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d481f2; /* rgb */ color: rgb(212, 129, 242); /* oklch */ color: oklch(73.3% 0.178 316.5);
Tailwind
colors: {
custom: {
50: '#e3a8f7',
500: '#d481f2',
950: '#000000',
},
}SCSS
$custom: #d481f2; $custom-light: #e3a8f7; $custom-dark: #000000;
JSON
{
"hex": "#d481f2",
"rgb": {
"r": 212,
"g": 129,
"b": 242
},
"hsl": {
"h": 284.071,
"s": 81.295,
"l": 72.745
},
"oklch": {
"l": 0.73285,
"c": 0.17763,
"h": 316.5
},
"luminance": 0.36108
}Semantic roles & 50–950 ramp
primary
#D481F2
secondary
#DFF4D7
accent
#DE0841
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85