#D682F2#D682F2
#D682F2 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.7% C 0.177 H 317.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #D682F2 |
|---|---|
| RGB | rgb(214, 130, 242) |
| HSL | hsl(285, 81%, 73%) |
| HSV | hsv(285, 46%, 95%) |
| CMYK | cmyk(11.6%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(67.03, 50.36, -43.38) |
| CIE-LCH | lch(67.03, 66.47, 319.26°) |
| OKLab | oklab(73.65% 0.1299 -0.1201) |
| OKLCH | oklch(73.65% 0.177 317.2) |
| XYZ | xyz(51.7389, 36.6738, 88.3405) |
| Luminance | 0.3667 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.72
Liliac
#C48EFD
ΔE00 5.27
Light Purple
#BF77F6
ΔE00 5.46
Purply Pink
#F075E6
ΔE00 5.86
Orchid
#DA70D6
ΔE00 5.98
Lavender Pink
#DD85D7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D682F2 #9EF282
analogous
#9E82F2 #D682F2 #F282D6
triadic
#D682F2 #F2D682 #82F2D6
tetradic
#D682F2 #F29E82 #9EF282 #82D6F2
square
#D682F2 #F29E82 #9EF282 #82D6F2
split-complementary
#D682F2 #D6F282 #82F29E
monochromatic
#AF18E2 #C44BEC #D682F2 #E8B9F8 #F6E3FC
Accessibility & contrast
On white
2.52
#D682F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#D682F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D682F2
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D682F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D682F2 | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#D592AF
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d682f2; /* rgb */ color: rgb(214, 130, 242); /* oklch */ color: oklch(73.7% 0.177 317.2);
Tailwind
colors: {
custom: {
50: '#e4a8f7',
500: '#d682f2',
950: '#000000',
},
}SCSS
$custom: #d682f2; $custom-light: #e4a8f7; $custom-dark: #000000;
JSON
{
"hex": "#d682f2",
"rgb": {
"r": 214,
"g": 130,
"b": 242
},
"hsl": {
"h": 285,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.73653,
"c": 0.17693,
"h": 317.2
},
"luminance": 0.36672
}Semantic roles & 50–950 ramp
primary
#D682F2
secondary
#DEF4D7
accent
#DE083D
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85