#D181FD#D181FD
#D181FD is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.5% C 0.188 H 312.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #D181FD |
|---|---|
| RGB | rgb(209, 129, 253) |
| HSL | hsl(279, 97%, 75%) |
| HSV | hsv(279, 49%, 99%) |
| CMYK | cmyk(17.4%, 49%, 0%, 0.8%) |
| CIE-LAB | lab(66.79, 51.77, -49.84) |
| CIE-LCH | lch(66.79, 71.86, 316.09°) |
| OKLab | oklab(73.52% 0.1268 -0.1389) |
| OKLCH | oklch(73.52% 0.188 312.4) |
| XYZ | xyz(51.8713, 36.3488, 97.1930) |
| Luminance | 0.3635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.93
Liliac
#C48EFD
ΔE00 3.98
Easter Purple
#C071FE
ΔE00 4.93
Baby Purple
#CA9BF7
ΔE00 6.68
Violet (CSS)
#EE82EE
ΔE00 6.78
Light Urple
#B36FF6
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D181FD #ADFD81
analogous
#9381FD #D181FD #FD81EB
triadic
#D181FD #FDD181 #81FDD1
tetradic
#D181FD #FD9381 #ADFD81 #81EBFD
square
#D181FD #FD9381 #ADFD81 #81EBFD
split-complementary
#D181FD #EBFD81 #81FD93
monochromatic
#A509FB #BB45FC #D181FD #E7BDFE #F4E1FF
Accessibility & contrast
On white
2.54
#D181FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#D181FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D181FD
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D181FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D181FD | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#7BA4FA
Tritanopia (blue-blind)
#CD95B3
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d181fd; /* rgb */ color: rgb(209, 129, 253); /* oklch */ color: oklch(73.5% 0.188 312.4);
Tailwind
colors: {
custom: {
50: '#e1a8fe',
500: '#d181fd',
950: '#000000',
},
}SCSS
$custom: #d181fd; $custom-light: #e1a8fe; $custom-dark: #000000;
JSON
{
"hex": "#d181fd",
"rgb": {
"r": 209,
"g": 129,
"b": 253
},
"hsl": {
"h": 278.71,
"s": 96.875,
"l": 74.902
},
"oklch": {
"l": 0.73515,
"c": 0.18813,
"h": 312.4
},
"luminance": 0.36348
}Semantic roles & 50–950 ramp
primary
#D181FD
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86