#A556EC#A556EC
#A556EC is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.219 H 305.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A556EC |
|---|---|
| RGB | rgb(165, 86, 236) |
| HSL | hsl(272, 80%, 63%) |
| HSV | hsv(272, 64%, 93%) |
| CMYK | cmyk(30.1%, 63.6%, 0%, 7.5%) |
| CIE-LAB | lab(52.63, 59.05, -63.30) |
| CIE-LCH | lch(52.63, 86.56, 313.01°) |
| OKLab | oklab(61.73% 0.1257 -0.1794) |
| OKLCH | oklch(61.73% 0.219 305) |
| XYZ | xyz(33.9818, 20.7112, 81.5481) |
| Luminance | 0.2071 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.32
Lighter Purple
#A55AF4
ΔE00 1.54
Purpley
#8756E4
ΔE00 5.50
Mediumorchid
#BA55D3
ΔE00 6.19
Light Urple
#B36FF6
ΔE00 6.72
Electric Purple
#AA23FF
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A556EC #9DEC56
analogous
#5A56EC #A556EC #EC56E8
triadic
#A556EC #ECA556 #56ECA5
tetradic
#A556EC #EC5A56 #9DEC56 #56E8EC
square
#A556EC #EC5A56 #9DEC56 #56E8EC
split-complementary
#A556EC #E8EC56 #56EC5A
monochromatic
#6814B3 #881FE6 #A556EC #C28DF2 #E0C4F8
Accessibility & contrast
On white
4.08
#A556EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#A556EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A556EC
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A556EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A556EC | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#98769A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a556ec; /* rgb */ color: rgb(165, 86, 236); /* oklch */ color: oklch(61.7% 0.219 305.0);
Tailwind
colors: {
custom: {
50: '#c48af3',
500: '#a556ec',
950: '#000000',
},
}SCSS
$custom: #a556ec; $custom-light: #c48af3; $custom-dark: #000000;
JSON
{
"hex": "#a556ec",
"rgb": {
"r": 165,
"g": 86,
"b": 236
},
"hsl": {
"h": 271.6,
"s": 79.787,
"l": 63.137
},
"oklch": {
"l": 0.6173,
"c": 0.21904,
"h": 305
},
"luminance": 0.20711
}Semantic roles & 50–950 ramp
primary
#A556EC
secondary
#CDEAB4
accent
#DC096D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85