#D181FE#D181FE
#D181FE is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.6% C 0.189 H 312.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #D181FE |
|---|---|
| RGB | rgb(209, 129, 254) |
| HSL | hsl(278, 98%, 75%) |
| HSV | hsv(278, 49%, 100%) |
| CMYK | cmyk(17.7%, 49.2%, 0%, 0.4%) |
| CIE-LAB | lab(66.83, 51.98, -50.31) |
| CIE-LCH | lch(66.83, 72.33, 315.94°) |
| OKLab | oklab(73.57% 0.1269 -0.1403) |
| OKLCH | oklch(73.57% 0.189 312.1) |
| XYZ | xyz(52.0310, 36.4127, 98.0341) |
| Luminance | 0.3641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.92
Liliac
#C48EFD
ΔE00 3.95
Easter Purple
#C071FE
ΔE00 4.88
Baby Purple
#CA9BF7
ΔE00 6.71
Light Urple
#B36FF6
ΔE00 6.87
Violet (CSS)
#EE82EE
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D181FE #AEFE81
analogous
#9281FE #D181FE #FE81EC
triadic
#D181FE #FED181 #81FED1
tetradic
#D181FE #FE9281 #AEFE81 #81ECFE
square
#D181FE #FE9281 #AEFE81 #81ECFE
split-complementary
#D181FE #ECFE81 #81FE92
monochromatic
#A508FD #BB44FE #D181FE #E7BEFE #F4E1FF
Accessibility & contrast
On white
2.54
#D181FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#D181FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D181FE
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D181FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D181FE | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#7BA4FB
Tritanopia (blue-blind)
#CC95B4
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d181fe; /* rgb */ color: rgb(209, 129, 254); /* oklch */ color: oklch(73.6% 0.189 312.1);
Tailwind
colors: {
custom: {
50: '#e1a8ff',
500: '#d181fe',
950: '#000000',
},
}SCSS
$custom: #d181fe; $custom-light: #e1a8ff; $custom-dark: #000000;
JSON
{
"hex": "#d181fe",
"rgb": {
"r": 209,
"g": 129,
"b": 254
},
"hsl": {
"h": 278.4,
"s": 98.425,
"l": 75.098
},
"oklch": {
"l": 0.73567,
"c": 0.18922,
"h": 312.1
},
"luminance": 0.36412
}Semantic roles & 50–950 ramp
primary
#D181FE
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86