#A562E8#A562E8
#A562E8 is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.1% C 0.198 H 304.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A562E8 |
|---|---|
| RGB | rgb(165, 98, 232) |
| HSL | hsl(270, 74%, 65%) |
| HSV | hsv(270, 58%, 91%) |
| CMYK | cmyk(28.9%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(54.62, 52.10, -57.86) |
| CIE-LCH | lch(54.62, 77.86, 312.00°) |
| OKLab | oklab(63.09% 0.1118 -0.1635) |
| OKLCH | oklch(63.09% 0.198 304.4) |
| XYZ | xyz(34.4470, 22.5610, 78.8683) |
| Luminance | 0.2256 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.34
Lightish Purple
#A552E6
ΔE00 3.66
Light Urple
#B36FF6
ΔE00 4.51
Mediumpurple
#9370DB
ΔE00 5.10
Bright Lavender
#C760FF
ΔE00 6.14
Mediumorchid
#BA55D3
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A562E8 #A5E862
analogous
#6262E8 #A562E8 #E862E8
triadic
#A562E8 #E8A562 #62E8A5
tetradic
#A562E8 #E86262 #A5E862 #62E8E8
square
#A562E8 #E86262 #A5E862 #62E8E8
split-complementary
#A562E8 #E8E862 #62E862
monochromatic
#681BB5 #862DE0 #A562E8 #C497F0 #E2CDF8
Accessibility & contrast
On white
3.81
#A562E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#A562E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A562E8
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A562E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A562E8 | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2781EC
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#997C9C
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a562e8; /* rgb */ color: rgb(165, 98, 232); /* oklch */ color: oklch(63.1% 0.198 304.4);
Tailwind
colors: {
custom: {
50: '#c391f0',
500: '#a562e8',
950: '#000000',
},
}SCSS
$custom: #a562e8; $custom-light: #c391f0; $custom-dark: #000000;
JSON
{
"hex": "#a562e8",
"rgb": {
"r": 165,
"g": 98,
"b": 232
},
"hsl": {
"h": 270,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.63094,
"c": 0.19805,
"h": 304.4
},
"luminance": 0.22561
}Semantic roles & 50–950 ramp
primary
#A562E8
secondary
#D3EABC
accent
#D70F73
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85