#D182FE#D182FE
#D182FE is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.7% C 0.188 H 312.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #D182FE |
|---|---|
| RGB | rgb(209, 130, 254) |
| HSL | hsl(278, 98%, 75%) |
| HSV | hsv(278, 49%, 100%) |
| CMYK | cmyk(17.7%, 48.8%, 0%, 0.4%) |
| CIE-LAB | lab(67.03, 51.46, -49.99) |
| CIE-LCH | lch(67.03, 71.74, 315.83°) |
| OKLab | oklab(73.72% 0.1256 -0.1394) |
| OKLCH | oklch(73.72% 0.188 312) |
| XYZ | xyz(52.1634, 36.6774, 98.0783) |
| Luminance | 0.3668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.78
Light Purple
#BF77F6
ΔE00 4.06
Easter Purple
#C071FE
ΔE00 5.05
Baby Purple
#CA9BF7
ΔE00 6.50
Violet (CSS)
#EE82EE
ΔE00 6.86
Light Urple
#B36FF6
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D182FE #AFFE82
analogous
#9382FE #D182FE #FE82ED
triadic
#D182FE #FED182 #82FED1
tetradic
#D182FE #FE9382 #AFFE82 #82EDFE
square
#D182FE #FE9382 #AFFE82 #82EDFE
split-complementary
#D182FE #EDFE82 #82FE93
monochromatic
#A409FD #BB45FE #D182FE #E7BFFE #F4E1FF
Accessibility & contrast
On white
2.52
#D182FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#D182FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D182FE
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D182FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D182FE | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#CC96B4
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d182fe; /* rgb */ color: rgb(209, 130, 254); /* oklch */ color: oklch(73.7% 0.188 312.0);
Tailwind
colors: {
custom: {
50: '#e1a8ff',
500: '#d182fe',
950: '#000000',
},
}SCSS
$custom: #d182fe; $custom-light: #e1a8ff; $custom-dark: #000000;
JSON
{
"hex": "#d182fe",
"rgb": {
"r": 209,
"g": 130,
"b": 254
},
"hsl": {
"h": 278.226,
"s": 98.413,
"l": 75.294
},
"oklch": {
"l": 0.73715,
"c": 0.18765,
"h": 312
},
"luminance": 0.36676
}Semantic roles & 50–950 ramp
primary
#D182FE
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86