#D181FC#D181FC
#D181FC is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.5% C 0.187 H 312.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D181FC |
|---|---|
| RGB | rgb(209, 129, 252) |
| HSL | hsl(279, 95%, 75%) |
| HSV | hsv(279, 49%, 99%) |
| CMYK | cmyk(17.1%, 48.8%, 0%, 1.2%) |
| CIE-LAB | lab(66.74, 51.56, -49.37) |
| CIE-LCH | lch(66.74, 71.38, 316.24°) |
| OKLab | oklab(73.46% 0.1267 -0.1376) |
| OKLCH | oklch(73.46% 0.187 312.6) |
| XYZ | xyz(51.7124, 36.2853, 96.3562) |
| Luminance | 0.3628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.95
Liliac
#C48EFD
ΔE00 4.01
Easter Purple
#C071FE
ΔE00 4.98
Baby Purple
#CA9BF7
ΔE00 6.65
Violet (CSS)
#EE82EE
ΔE00 6.67
Light Urple
#B36FF6
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D181FC #ACFC81
analogous
#9381FC #D181FC #FC81EA
triadic
#D181FC #FCD181 #81FCD1
tetradic
#D181FC #FC9381 #ACFC81 #81EAFC
square
#D181FC #FC9381 #ACFC81 #81EAFC
split-complementary
#D181FC #EAFC81 #81FC93
monochromatic
#A509F9 #BB45FB #D181FC #E7BDFD #F4E1FE
Accessibility & contrast
On white
2.54
#D181FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#D181FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D181FC
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D181FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D181FC | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#7CA4F9
Tritanopia (blue-blind)
#CD94B3
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d181fc; /* rgb */ color: rgb(209, 129, 252); /* oklch */ color: oklch(73.5% 0.187 312.6);
Tailwind
colors: {
custom: {
50: '#e1a8fe',
500: '#d181fc',
950: '#000000',
},
}SCSS
$custom: #d181fc; $custom-light: #e1a8fe; $custom-dark: #000000;
JSON
{
"hex": "#d181fc",
"rgb": {
"r": 209,
"g": 129,
"b": 252
},
"hsl": {
"h": 279.024,
"s": 95.349,
"l": 74.706
},
"oklch": {
"l": 0.73463,
"c": 0.18705,
"h": 312.6
},
"luminance": 0.36284
}Semantic roles & 50–950 ramp
primary
#D181FC
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86