#D180FC#D180FC
#D180FC is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.3% C 0.189 H 312.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #D180FC |
|---|---|
| RGB | rgb(209, 128, 252) |
| HSL | hsl(279, 95%, 75%) |
| HSV | hsv(279, 49%, 99%) |
| CMYK | cmyk(17.1%, 49.2%, 0%, 1.2%) |
| CIE-LAB | lab(66.54, 52.07, -49.68) |
| CIE-LCH | lch(66.54, 71.97, 316.35°) |
| OKLab | oklab(73.32% 0.1281 -0.1385) |
| OKLCH | oklch(73.32% 0.189 312.8) |
| XYZ | xyz(51.5814, 36.0231, 96.3125) |
| Luminance | 0.3602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.82
Liliac
#C48EFD
ΔE00 4.18
Easter Purple
#C071FE
ΔE00 4.82
Violet (CSS)
#EE82EE
ΔE00 6.71
Light Urple
#B36FF6
ΔE00 6.79
Baby Purple
#CA9BF7
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D180FC #ABFC80
analogous
#9380FC #D180FC #FC80E9
triadic
#D180FC #FCD180 #80FCD1
tetradic
#D180FC #FC9380 #ABFC80 #80E9FC
square
#D180FC #FC9380 #ABFC80 #80E9FC
split-complementary
#D180FC #E9FC80 #80FC93
monochromatic
#A608F9 #BB44FB #D180FC #E7BCFD #F4E1FE
Accessibility & contrast
On white
2.56
#D180FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#D180FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D180FC
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D180FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D180FC | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#CD94B3
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d180fc; /* rgb */ color: rgb(209, 128, 252); /* oklch */ color: oklch(73.3% 0.189 312.8);
Tailwind
colors: {
custom: {
50: '#e1a7fe',
500: '#d180fc',
950: '#000000',
},
}SCSS
$custom: #d180fc; $custom-light: #e1a7fe; $custom-dark: #000000;
JSON
{
"hex": "#d180fc",
"rgb": {
"r": 209,
"g": 128,
"b": 252
},
"hsl": {
"h": 279.194,
"s": 95.385,
"l": 74.51
},
"oklch": {
"l": 0.73315,
"c": 0.18862,
"h": 312.8
},
"luminance": 0.36022
}Semantic roles & 50–950 ramp
primary
#D180FC
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86