#A562BE#A562BE
#A562BE is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.7% C 0.151 H 316.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A562BE |
|---|---|
| RGB | rgb(165, 98, 190) |
| HSL | hsl(284, 41%, 56%) |
| HSV | hsv(284, 48%, 75%) |
| CMYK | cmyk(13.2%, 48.4%, 0%, 25.5%) |
| CIE-LAB | lab(52.35, 42.70, -37.60) |
| CIE-LCH | lch(52.35, 56.90, 318.63°) |
| OKLab | oklab(60.68% 0.109 -0.1044) |
| OKLCH | oklch(60.68% 0.151 316.2) |
| XYZ | xyz(29.1776, 20.4533, 51.1161) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.63
Soft Purple
#A66FB5
ΔE00 4.64
Deep Lilac
#966EBD
ΔE00 4.76
Mediumorchid
#BA55D3
ΔE00 5.06
Deep Lavender
#8D5EB7
ΔE00 5.33
Dark Lilac
#9C6DA5
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A562BE #7BBE62
analogous
#7762BE #A562BE #BE62A9
triadic
#A562BE #BEA562 #62BEA5
tetradic
#A562BE #BE7762 #7BBE62 #62A9BE
square
#A562BE #BE7762 #7BBE62 #62A9BE
split-complementary
#A562BE #A9BE62 #62BE77
monochromatic
#623075 #8742A0 #A562BE #BE8DD0 #D7B9E2
Accessibility & contrast
On white
4.13
#A562BE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#A562BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A562BE
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A562BE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A562BE | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5079C1
Deuteranopia (green-blind)
#637FBB
Tritanopia (blue-blind)
#A46F87
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a562be; /* rgb */ color: rgb(165, 98, 190); /* oklch */ color: oklch(60.7% 0.151 316.2);
Tailwind
colors: {
custom: {
50: '#c191d2',
500: '#a562be',
950: '#000000',
},
}SCSS
$custom: #a562be; $custom-light: #c191d2; $custom-dark: #000000;
JSON
{
"hex": "#a562be",
"rgb": {
"r": 165,
"g": 98,
"b": 190
},
"hsl": {
"h": 283.696,
"s": 41.441,
"l": 56.471
},
"oklch": {
"l": 0.60684,
"c": 0.15089,
"h": 316.2
},
"luminance": 0.20452
}Semantic roles & 50–950 ramp
primary
#A562BE
secondary
#B5D1AB
accent
#D15778
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82