#A556EB#A556EB
#A556EB is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.218 H 305.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A556EB |
|---|---|
| RGB | rgb(165, 86, 235) |
| HSL | hsl(272, 79%, 63%) |
| HSV | hsv(272, 63%, 92%) |
| CMYK | cmyk(29.8%, 63.4%, 0%, 7.8%) |
| CIE-LAB | lab(52.57, 58.82, -62.84) |
| CIE-LCH | lch(52.57, 86.07, 313.11°) |
| OKLab | oklab(61.66% 0.1258 -0.178) |
| OKLCH | oklch(61.66% 0.218 305.2) |
| XYZ | xyz(33.8369, 20.6533, 80.7851) |
| Luminance | 0.2065 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.22
Lighter Purple
#A55AF4
ΔE00 1.67
Purpley
#8756E4
ΔE00 5.50
Mediumorchid
#BA55D3
ΔE00 6.09
Light Urple
#B36FF6
ΔE00 6.76
Amethyst
#9B5FC0
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A556EB #9CEB56
analogous
#5A56EB #A556EB #EB56E7
triadic
#A556EB #EBA556 #56EBA5
tetradic
#A556EB #EB5A56 #9CEB56 #56E7EB
square
#A556EB #EB5A56 #9CEB56 #56E7EB
split-complementary
#A556EB #E7EB56 #56EB5A
monochromatic
#6815B2 #881FE5 #A556EB #C28DF1 #DFC3F8
Accessibility & contrast
On white
4.09
#A556EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#A556EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A556EB
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A556EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A556EB | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#2F7EE8
Tritanopia (blue-blind)
#997699
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a556eb; /* rgb */ color: rgb(165, 86, 235); /* oklch */ color: oklch(61.7% 0.218 305.2);
Tailwind
colors: {
custom: {
50: '#c48af2',
500: '#a556eb',
950: '#000000',
},
}SCSS
$custom: #a556eb; $custom-light: #c48af2; $custom-dark: #000000;
JSON
{
"hex": "#a556eb",
"rgb": {
"r": 165,
"g": 86,
"b": 235
},
"hsl": {
"h": 271.812,
"s": 78.836,
"l": 62.941
},
"oklch": {
"l": 0.61664,
"c": 0.21798,
"h": 305.2
},
"luminance": 0.20653
}Semantic roles & 50–950 ramp
primary
#A556EB
secondary
#CDE9B4
accent
#DB0A6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85