#A562BB#A562BB
#A562BB is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.5% C 0.148 H 317.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A562BB |
|---|---|
| RGB | rgb(165, 98, 187) |
| HSL | hsl(285, 40%, 56%) |
| HSV | hsv(285, 48%, 73%) |
| CMYK | cmyk(11.8%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(52.20, 42.07, -36.10) |
| CIE-LCH | lch(52.20, 55.43, 319.37°) |
| OKLab | oklab(60.53% 0.1086 -0.1) |
| OKLCH | oklch(60.53% 0.148 317.3) |
| XYZ | xyz(28.8531, 20.3235, 49.4070) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.98
Soft Purple
#A66FB5
ΔE00 4.32
Deep Lilac
#966EBD
ΔE00 4.89
Mediumorchid
#BA55D3
ΔE00 5.39
Deep Lavender
#8D5EB7
ΔE00 5.45
Dark Lilac
#9C6DA5
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A562BB #78BB62
analogous
#7862BB #A562BB #BB62A4
triadic
#A562BB #BBA562 #62BBA5
tetradic
#A562BB #BB7862 #78BB62 #62A4BB
square
#A562BB #BB7862 #78BB62 #62A4BB
split-complementary
#A562BB #A4BB62 #62BB78
monochromatic
#623171 #86449C #A562BB #BD8DCD #D6B7E0
Accessibility & contrast
On white
4.15
#A562BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#A562BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A562BB
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A562BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A562BB | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#A56F86
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a562bb; /* rgb */ color: rgb(165, 98, 187); /* oklch */ color: oklch(60.5% 0.148 317.3);
Tailwind
colors: {
custom: {
50: '#c191d0',
500: '#a562bb',
950: '#000000',
},
}SCSS
$custom: #a562bb; $custom-light: #c191d0; $custom-dark: #000000;
JSON
{
"hex": "#a562bb",
"rgb": {
"r": 165,
"g": 98,
"b": 187
},
"hsl": {
"h": 285.169,
"s": 39.556,
"l": 55.882
},
"oklch": {
"l": 0.60529,
"c": 0.1476,
"h": 317.3
},
"luminance": 0.20323
}Semantic roles & 50–950 ramp
primary
#A562BB
secondary
#B3CFAA
accent
#CF5876
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82