#D182FC#D182FC
#D182FC is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.6% C 0.185 H 312.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #D182FC |
|---|---|
| RGB | rgb(209, 130, 252) |
| HSL | hsl(279, 95%, 75%) |
| HSV | hsv(279, 48%, 99%) |
| CMYK | cmyk(17.1%, 48.4%, 0%, 1.2%) |
| CIE-LAB | lab(66.94, 51.04, -49.05) |
| CIE-LCH | lch(66.94, 70.79, 316.14°) |
| OKLab | oklab(73.61% 0.1254 -0.1367) |
| OKLCH | oklch(73.61% 0.185 312.5) |
| XYZ | xyz(51.8448, 36.5500, 96.4003) |
| Luminance | 0.3655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.85
Light Purple
#BF77F6
ΔE00 4.09
Easter Purple
#C071FE
ΔE00 5.15
Baby Purple
#CA9BF7
ΔE00 6.44
Violet (CSS)
#EE82EE
ΔE00 6.64
Light Urple
#B36FF6
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D182FC #ADFC82
analogous
#9482FC #D182FC #FC82EA
triadic
#D182FC #FCD182 #82FCD1
tetradic
#D182FC #FC9482 #ADFC82 #82EAFC
square
#D182FC #FC9482 #ADFC82 #82EAFC
split-complementary
#D182FC #EAFC82 #82FC94
monochromatic
#A50AF9 #BB46FB #D182FC #E7BEFD #F4E1FE
Accessibility & contrast
On white
2.53
#D182FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#D182FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D182FC
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D182FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D182FC | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#CD95B3
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d182fc; /* rgb */ color: rgb(209, 130, 252); /* oklch */ color: oklch(73.6% 0.185 312.5);
Tailwind
colors: {
custom: {
50: '#e1a8fe',
500: '#d182fc',
950: '#000000',
},
}SCSS
$custom: #d182fc; $custom-light: #e1a8fe; $custom-dark: #000000;
JSON
{
"hex": "#d182fc",
"rgb": {
"r": 209,
"g": 130,
"b": 252
},
"hsl": {
"h": 278.852,
"s": 95.313,
"l": 74.902
},
"oklch": {
"l": 0.73612,
"c": 0.18547,
"h": 312.5
},
"luminance": 0.36549
}Semantic roles & 50–950 ramp
primary
#D182FC
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86