#D481EC#D481EC
#D481EC is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.171 H 318.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #D481EC |
|---|---|
| RGB | rgb(212, 129, 236) |
| HSL | hsl(287, 74%, 72%) |
| HSV | hsv(287, 45%, 93%) |
| CMYK | cmyk(10.2%, 45.3%, 0%, 7.5%) |
| CIE-LAB | lab(66.33, 49.12, -41.19) |
| CIE-LCH | lch(66.33, 64.10, 320.02°) |
| OKLab | oklab(72.99% 0.128 -0.1139) |
| OKLCH | oklch(72.99% 0.171 318.4) |
| XYZ | xyz(50.1399, 35.7553, 83.6009) |
| Luminance | 0.3575 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.66
Orchid
#DA70D6
ΔE00 5.26
Lavender Pink
#DD85D7
ΔE00 5.36
Purply Pink
#F075E6
ΔE00 5.59
Light Purple
#BF77F6
ΔE00 5.63
Liliac
#C48EFD
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D481EC #99EC81
analogous
#9F81EC #D481EC #EC81CF
triadic
#D481EC #ECD481 #81ECD4
tetradic
#D481EC #EC9F81 #99EC81 #81CFEC
square
#D481EC #EC9F81 #99EC81 #81CFEC
split-complementary
#D481EC #CFEC81 #81EC9F
monochromatic
#AB20D3 #C24CE4 #D481EC #E6B6F4 #F6E4FB
Accessibility & contrast
On white
2.58
#D481EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#D481EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D481EC
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D481EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D481EC | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#D48FAB
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d481ec; /* rgb */ color: rgb(212, 129, 236); /* oklch */ color: oklch(73.0% 0.171 318.4);
Tailwind
colors: {
custom: {
50: '#e3a8f2',
500: '#d481ec',
950: '#000000',
},
}SCSS
$custom: #d481ec; $custom-light: #e3a8f2; $custom-dark: #000000;
JSON
{
"hex": "#d481ec",
"rgb": {
"r": 212,
"g": 129,
"b": 236
},
"hsl": {
"h": 286.542,
"s": 73.793,
"l": 71.569
},
"oklch": {
"l": 0.72994,
"c": 0.17134,
"h": 318.4
},
"luminance": 0.35754
}Semantic roles & 50–950 ramp
primary
#D481EC
secondary
#DDF2D7
accent
#D6103C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85