#A558E6#A558E6
#A558E6 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.210 H 306.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A558E6 |
|---|---|
| RGB | rgb(165, 88, 230) |
| HSL | hsl(273, 74%, 62%) |
| HSV | hsv(273, 62%, 90%) |
| CMYK | cmyk(28.3%, 61.7%, 0%, 9.8%) |
| CIE-LAB | lab(52.61, 56.70, -59.96) |
| CIE-LCH | lch(52.61, 82.52, 313.40°) |
| OKLab | oklab(61.59% 0.1238 -0.1696) |
| OKLCH | oklch(61.59% 0.21 306.1) |
| XYZ | xyz(33.2866, 20.6922, 77.0880) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.30
Lighter Purple
#A55AF4
ΔE00 2.13
Mediumorchid
#BA55D3
ΔE00 5.57
Purpley
#8756E4
ΔE00 5.68
Amethyst
#9B5FC0
ΔE00 6.17
Light Urple
#B36FF6
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A558E6 #99E658
analogous
#5E58E6 #A558E6 #E658E0
triadic
#A558E6 #E6A558 #58E6A5
tetradic
#A558E6 #E65E58 #99E658 #58E0E6
square
#A558E6 #E65E58 #99E658 #58E0E6
split-complementary
#A558E6 #E0E658 #58E65E
monochromatic
#6819AA #8823DE #A558E6 #C28DEE #DEC2F6
Accessibility & contrast
On white
4.09
#A558E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#A558E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A558E6
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A558E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A558E6 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 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)
#007BEA
Deuteranopia (green-blind)
#3A7EE3
Tritanopia (blue-blind)
#9A7597
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a558e6; /* rgb */ color: rgb(165, 88, 230); /* oklch */ color: oklch(61.6% 0.210 306.1);
Tailwind
colors: {
custom: {
50: '#c48bef',
500: '#a558e6',
950: '#000000',
},
}SCSS
$custom: #a558e6; $custom-light: #c48bef; $custom-dark: #000000;
JSON
{
"hex": "#a558e6",
"rgb": {
"r": 165,
"g": 88,
"b": 230
},
"hsl": {
"h": 272.535,
"s": 73.958,
"l": 62.353
},
"oklch": {
"l": 0.61594,
"c": 0.20995,
"h": 306.1
},
"luminance": 0.20692
}Semantic roles & 50–950 ramp
primary
#A558E6
secondary
#CBE7B3
accent
#D60F6A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84