#D481ED#D481ED
#D481ED is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.172 H 318.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #D481ED |
|---|---|
| RGB | rgb(212, 129, 237) |
| HSL | hsl(286, 75%, 72%) |
| HSV | hsv(286, 46%, 93%) |
| CMYK | cmyk(10.5%, 45.6%, 0%, 7.1%) |
| CIE-LAB | lab(66.38, 49.32, -41.67) |
| CIE-LCH | lch(66.38, 64.57, 319.81°) |
| OKLab | oklab(73.04% 0.1282 -0.1152) |
| OKLCH | oklch(73.04% 0.172 318) |
| XYZ | xyz(50.2856, 35.8136, 84.3682) |
| Luminance | 0.3581 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.72
Orchid
#DA70D6
ΔE00 5.38
Light Purple
#BF77F6
ΔE00 5.51
Lavender Pink
#DD85D7
ΔE00 5.52
Liliac
#C48EFD
ΔE00 5.63
Purply Pink
#F075E6
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D481ED #9AED81
analogous
#9E81ED #D481ED #ED81D0
triadic
#D481ED #EDD481 #81EDD4
tetradic
#D481ED #ED9E81 #9AED81 #81D0ED
square
#D481ED #ED9E81 #9AED81 #81D0ED
split-complementary
#D481ED #D0ED81 #81ED9E
monochromatic
#AB1ED5 #C24BE5 #D481ED #E6B7F5 #F6E4FB
Accessibility & contrast
On white
2.57
#D481ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#D481ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D481ED
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D481ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D481ED | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#86A4EA
Tritanopia (blue-blind)
#D490AC
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d481ed; /* rgb */ color: rgb(212, 129, 237); /* oklch */ color: oklch(73.0% 0.172 318.0);
Tailwind
colors: {
custom: {
50: '#e3a8f3',
500: '#d481ed',
950: '#000000',
},
}SCSS
$custom: #d481ed; $custom-light: #e3a8f3; $custom-dark: #000000;
JSON
{
"hex": "#d481ed",
"rgb": {
"r": 212,
"g": 129,
"b": 237
},
"hsl": {
"h": 286.111,
"s": 75,
"l": 71.765
},
"oklch": {
"l": 0.73042,
"c": 0.17238,
"h": 318
},
"luminance": 0.35812
}Semantic roles & 50–950 ramp
primary
#D481ED
secondary
#DEF3D7
accent
#D70E3D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85