#D082F2#D082F2
#D082F2 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.174 H 314.9°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #D082F2 |
|---|---|
| RGB | rgb(208, 130, 242) |
| HSL | hsl(282, 81%, 73%) |
| HSV | hsv(282, 46%, 95%) |
| CMYK | cmyk(14%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(66.36, 48.69, -44.48) |
| CIE-LCH | lch(66.36, 65.95, 317.59°) |
| OKLab | oklab(73% 0.1229 -0.1235) |
| OKLCH | oklch(73% 0.174 314.9) |
| XYZ | xyz(50.0195, 35.7873, 88.2599) |
| Luminance | 0.3579 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.44
Light Purple
#BF77F6
ΔE00 4.51
Easter Purple
#C071FE
ΔE00 5.83
Violet (CSS)
#EE82EE
ΔE00 5.84
Baby Purple
#CA9BF7
ΔE00 6.36
Orchid
#DA70D6
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D082F2 #A4F282
analogous
#9882F2 #D082F2 #F282DC
triadic
#D082F2 #F2D082 #82F2D0
tetradic
#D082F2 #F29882 #A4F282 #82DCF2
square
#D082F2 #F29882 #A4F282 #82DCF2
split-complementary
#D082F2 #DCF282 #82F298
monochromatic
#A518E2 #BB4BEC #D082F2 #E5B9F8 #F5E3FC
Accessibility & contrast
On white
2.57
#D082F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#D082F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D082F2
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D082F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D082F2 | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#CE92AF
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d082f2; /* rgb */ color: rgb(208, 130, 242); /* oklch */ color: oklch(73.0% 0.174 314.9);
Tailwind
colors: {
custom: {
50: '#e0a8f7',
500: '#d082f2',
950: '#000000',
},
}SCSS
$custom: #d082f2; $custom-light: #e0a8f7; $custom-dark: #000000;
JSON
{
"hex": "#d082f2",
"rgb": {
"r": 208,
"g": 130,
"b": 242
},
"hsl": {
"h": 281.786,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.73002,
"c": 0.17422,
"h": 314.9
},
"luminance": 0.35786
}Semantic roles & 50–950 ramp
primary
#D082F2
secondary
#E0F4D7
accent
#DE0849
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85