#A882EC#A882EC
#A882EC is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.7% C 0.155 H 298.8°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A882EC |
|---|---|
| RGB | rgb(168, 130, 236) |
| HSL | hsl(262, 74%, 72%) |
| HSV | hsv(262, 45%, 93%) |
| CMYK | cmyk(28.8%, 44.9%, 0%, 7.5%) |
| CIE-LAB | lab(61.95, 36.40, -48.39) |
| CIE-LCH | lch(61.95, 60.55, 306.95°) |
| OKLab | oklab(68.68% 0.0746 -0.1357) |
| OKLCH | oklch(68.68% 0.155 298.8) |
| XYZ | xyz(39.2678, 30.3459, 83.1292) |
| Luminance | 0.3035 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.27
Light Urple
#B36FF6
ΔE00 5.45
Liliac
#C48EFD
ΔE00 5.72
Easter Purple
#C071FE
ΔE00 6.28
Mediumpurple
#9370DB
ΔE00 6.31
Periwinkle (survey)
#8E82FE
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A882EC #C6EC82
analogous
#8291EC #A882EC #DD82EC
triadic
#A882EC #ECA882 #82ECA8
tetradic
#A882EC #EC8291 #C6EC82 #82ECDD
square
#A882EC #EC8291 #C6EC82 #82ECDD
split-complementary
#A882EC #ECDD82 #91EC82
monochromatic
#6020D3 #834DE4 #A882EC #CDB7F4 #EDE4FB
Accessibility & contrast
On white
2.97
#A882EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#A882EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A882EC
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A882EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A882EC | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#6A95E9
Tritanopia (blue-blind)
#9A95AC
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a882ec; /* rgb */ color: rgb(168, 130, 236); /* oklch */ color: oklch(68.7% 0.155 298.8);
Tailwind
colors: {
custom: {
50: '#c4a7f2',
500: '#a882ec',
950: '#000000',
},
}SCSS
$custom: #a882ec; $custom-light: #c4a7f2; $custom-dark: #000000;
JSON
{
"hex": "#a882ec",
"rgb": {
"r": 168,
"g": 130,
"b": 236
},
"hsl": {
"h": 261.509,
"s": 73.611,
"l": 71.765
},
"oklch": {
"l": 0.68675,
"c": 0.15491,
"h": 298.8
},
"luminance": 0.30346
}Semantic roles & 50–950 ramp
primary
#A882EC
secondary
#E9F2D7
accent
#D6108F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85