#D481EB#D481EB
#D481EB is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.9% C 0.170 H 318.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #D481EB |
|---|---|
| RGB | rgb(212, 129, 235) |
| HSL | hsl(287, 73%, 71%) |
| HSV | hsv(287, 45%, 92%) |
| CMYK | cmyk(9.8%, 45.1%, 0%, 7.8%) |
| CIE-LAB | lab(66.29, 48.92, -40.70) |
| CIE-LCH | lch(66.29, 63.64, 320.24°) |
| OKLab | oklab(72.95% 0.1279 -0.1125) |
| OKLCH | oklch(72.95% 0.17 318.7) |
| XYZ | xyz(49.9950, 35.6974, 82.8379) |
| Luminance | 0.3570 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.59
Orchid
#DA70D6
ΔE00 5.13
Lavender Pink
#DD85D7
ΔE00 5.19
Purply Pink
#F075E6
ΔE00 5.51
Light Purple
#BF77F6
ΔE00 5.74
Liliac
#C48EFD
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D481EB #98EB81
analogous
#9F81EB #D481EB #EB81CD
triadic
#D481EB #EBD481 #81EBD4
tetradic
#D481EB #EB9F81 #98EB81 #81CDEB
square
#D481EB #EB9F81 #98EB81 #81CDEB
split-complementary
#D481EB #CDEB81 #81EB9F
monochromatic
#AA21D1 #C24CE3 #D481EB #E6B6F3 #F6E5FB
Accessibility & contrast
On white
2.58
#D481EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#D481EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D481EB
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D481EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D481EB | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#D48FAB
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d481eb; /* rgb */ color: rgb(212, 129, 235); /* oklch */ color: oklch(72.9% 0.170 318.7);
Tailwind
colors: {
custom: {
50: '#e3a8f2',
500: '#d481eb',
950: '#000000',
},
}SCSS
$custom: #d481eb; $custom-light: #e3a8f2; $custom-dark: #000000;
JSON
{
"hex": "#d481eb",
"rgb": {
"r": 212,
"g": 129,
"b": 235
},
"hsl": {
"h": 286.981,
"s": 72.603,
"l": 71.373
},
"oklch": {
"l": 0.72947,
"c": 0.1703,
"h": 318.7
},
"luminance": 0.35696
}Semantic roles & 50–950 ramp
primary
#D481EB
secondary
#DCF2D6
accent
#D5113B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85