#A566BF#A566BF
#A566BF is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.4% C 0.145 H 315.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A566BF |
|---|---|
| RGB | rgb(165, 102, 191) |
| HSL | hsl(282, 41%, 57%) |
| HSV | hsv(282, 47%, 75%) |
| CMYK | cmyk(13.6%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(53.24, 40.74, -36.78) |
| CIE-LCH | lch(53.24, 54.89, 317.93°) |
| OKLab | oklab(61.36% 0.1034 -0.102) |
| OKLCH | oklch(61.36% 0.145 315.4) |
| XYZ | xyz(29.6709, 21.2645, 51.8216) |
| Luminance | 0.2126 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.22
Soft Purple
#A66FB5
ΔE00 3.83
Deep Lilac
#966EBD
ΔE00 4.05
Mediumorchid
#BA55D3
ΔE00 5.56
Deep Lavender
#8D5EB7
ΔE00 5.76
Dark Lilac
#9C6DA5
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A566BF #80BF66
analogous
#7966BF #A566BF #BF66AD
triadic
#A566BF #BFA566 #66BFA5
tetradic
#A566BF #BF7966 #80BF66 #66ADBF
square
#A566BF #BF7966 #80BF66 #66ADBF
split-complementary
#A566BF #ADBF66 #66BF79
monochromatic
#643278 #8844A3 #A566BF #BE91D1 #D8BCE3
Accessibility & contrast
On white
4.00
#A566BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#A566BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A566BF
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A566BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A566BF | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#557BC2
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#A47389
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a566bf; /* rgb */ color: rgb(165, 102, 191); /* oklch */ color: oklch(61.4% 0.145 315.4);
Tailwind
colors: {
custom: {
50: '#c193d2',
500: '#a566bf',
950: '#000000',
},
}SCSS
$custom: #a566bf; $custom-light: #c193d2; $custom-dark: #000000;
JSON
{
"hex": "#a566bf",
"rgb": {
"r": 165,
"g": 102,
"b": 191
},
"hsl": {
"h": 282.472,
"s": 41.014,
"l": 57.451
},
"oklch": {
"l": 0.61364,
"c": 0.14525,
"h": 315.4
},
"luminance": 0.21264
}Semantic roles & 50–950 ramp
primary
#A566BF
secondary
#B9D2AE
accent
#D1577B
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#120D14
muted
#817E82