#A562BF#A562BF
#A562BF is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.7% C 0.152 H 315.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A562BF |
|---|---|
| RGB | rgb(165, 98, 191) |
| HSL | hsl(283, 42%, 57%) |
| HSV | hsv(283, 49%, 75%) |
| CMYK | cmyk(13.6%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(52.39, 42.91, -38.10) |
| CIE-LCH | lch(52.39, 57.38, 318.40°) |
| OKLab | oklab(60.74% 0.1091 -0.1058) |
| OKLCH | oklch(60.74% 0.152 315.9) |
| XYZ | xyz(29.2873, 20.4971, 51.6937) |
| Luminance | 0.2050 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.54
Deep Lilac
#966EBD
ΔE00 4.74
Soft Purple
#A66FB5
ΔE00 4.75
Mediumorchid
#BA55D3
ΔE00 4.96
Deep Lavender
#8D5EB7
ΔE00 5.31
Dark Lilac
#9C6DA5
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A562BF #7CBF62
analogous
#7762BF #A562BF #BF62AB
triadic
#A562BF #BFA562 #62BFA5
tetradic
#A562BF #BF7762 #7CBF62 #62ABBF
square
#A562BF #BF7762 #7CBF62 #62ABBF
split-complementary
#A562BF #ABBF62 #62BF77
monochromatic
#633076 #8742A2 #A562BF #BE8DD1 #D7B9E2
Accessibility & contrast
On white
4.12
#A562BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#A562BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A562BF
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A562BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A562BF | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#637FBC
Tritanopia (blue-blind)
#A47088
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a562bf; /* rgb */ color: rgb(165, 98, 191); /* oklch */ color: oklch(60.7% 0.152 315.9);
Tailwind
colors: {
custom: {
50: '#c191d2',
500: '#a562bf',
950: '#000000',
},
}SCSS
$custom: #a562bf; $custom-light: #c191d2; $custom-dark: #000000;
JSON
{
"hex": "#a562bf",
"rgb": {
"r": 165,
"g": 98,
"b": 191
},
"hsl": {
"h": 283.226,
"s": 42.081,
"l": 56.667
},
"oklch": {
"l": 0.60737,
"c": 0.152,
"h": 315.9
},
"luminance": 0.20496
}Semantic roles & 50–950 ramp
primary
#A562BF
secondary
#B6D1AB
accent
#D25679
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82