#A562E7#A562E7
#A562E7 is a light, vivid violet. Relative luminance 0.225; OKLCH L 63.0% C 0.197 H 304.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A562E7 |
|---|---|
| RGB | rgb(165, 98, 231) |
| HSL | hsl(270, 73%, 65%) |
| HSV | hsv(270, 58%, 91%) |
| CMYK | cmyk(28.6%, 57.6%, 0%, 9.4%) |
| CIE-LAB | lab(54.56, 51.87, -57.40) |
| CIE-LCH | lch(54.56, 77.36, 312.10°) |
| OKLab | oklab(63.03% 0.1118 -0.1621) |
| OKLCH | oklch(63.03% 0.197 304.6) |
| XYZ | xyz(34.3054, 22.5044, 78.1223) |
| Luminance | 0.2250 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.44
Lightish Purple
#A552E6
ΔE00 3.64
Light Urple
#B36FF6
ΔE00 4.57
Mediumpurple
#9370DB
ΔE00 5.08
Mediumorchid
#BA55D3
ΔE00 6.11
Bright Lavender
#C760FF
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A562E7 #A4E762
analogous
#6362E7 #A562E7 #E762E6
triadic
#A562E7 #E7A562 #62E7A5
tetradic
#A562E7 #E76362 #A4E762 #62E6E7
square
#A562E7 #E76362 #A4E762 #62E6E7
split-complementary
#A562E7 #E6E762 #62E763
monochromatic
#681BB3 #872DDF #A562E7 #C397EF #E2CCF7
Accessibility & contrast
On white
3.82
#A562E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#A562E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A562E7
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A562E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A562E7 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2981EB
Deuteranopia (green-blind)
#4683E4
Tritanopia (blue-blind)
#997C9B
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #a562e7; /* rgb */ color: rgb(165, 98, 231); /* oklch */ color: oklch(63.0% 0.197 304.6);
Tailwind
colors: {
custom: {
50: '#c391ef',
500: '#a562e7',
950: '#000000',
},
}SCSS
$custom: #a562e7; $custom-light: #c391ef; $custom-dark: #000000;
JSON
{
"hex": "#a562e7",
"rgb": {
"r": 165,
"g": 98,
"b": 231
},
"hsl": {
"h": 270.226,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.63031,
"c": 0.19692,
"h": 304.6
},
"luminance": 0.22504
}Semantic roles & 50–950 ramp
primary
#A562E7
secondary
#D2E9BB
accent
#D61072
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84