#DC82F2#DC82F2
#DC82F2 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.3% C 0.180 H 319.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #DC82F2 |
|---|---|
| RGB | rgb(220, 130, 242) |
| HSL | hsl(288, 81%, 73%) |
| HSV | hsv(288, 46%, 95%) |
| CMYK | cmyk(9.1%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(67.72, 52.03, -42.25) |
| CIE-LCH | lch(67.72, 67.02, 320.92°) |
| OKLab | oklab(74.32% 0.1368 -0.1168) |
| OKLCH | oklch(74.32% 0.18 319.5) |
| XYZ | xyz(53.5228, 37.5936, 88.4241) |
| Luminance | 0.3759 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.62
Purply Pink
#F075E6
ΔE00 4.91
Lavender Pink
#DD85D7
ΔE00 5.41
Orchid
#DA70D6
ΔE00 5.64
Liliac
#C48EFD
ΔE00 6.16
Light Purple
#BF77F6
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC82F2 #98F282
analogous
#A482F2 #DC82F2 #F282D0
triadic
#DC82F2 #F2DC82 #82F2DC
tetradic
#DC82F2 #F2A482 #98F282 #82D0F2
square
#DC82F2 #F2A482 #98F282 #82D0F2
split-complementary
#DC82F2 #D0F282 #82F2A4
monochromatic
#BA18E2 #CC4BEC #DC82F2 #ECB9F8 #F7E3FC
Accessibility & contrast
On white
2.47
#DC82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#DC82F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC82F2
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC82F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC82F2 | 1.00 | 2.47 | 8.52 | 8.52 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#8AA8EF
Tritanopia (blue-blind)
#DD91AF
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #dc82f2; /* rgb */ color: rgb(220, 130, 242); /* oklch */ color: oklch(74.3% 0.180 319.5);
Tailwind
colors: {
custom: {
50: '#e9a9f7',
500: '#dc82f2',
950: '#000000',
},
}SCSS
$custom: #dc82f2; $custom-light: #e9a9f7; $custom-dark: #000000;
JSON
{
"hex": "#dc82f2",
"rgb": {
"r": 220,
"g": 130,
"b": 242
},
"hsl": {
"h": 288.214,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.74316,
"c": 0.17986,
"h": 319.5
},
"luminance": 0.37592
}Semantic roles & 50–950 ramp
primary
#DC82F2
secondary
#DDF4D7
accent
#DE0832
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85