#A756BF#A756BF
#A756BF is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.2% C 0.172 H 318.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A756BF |
|---|---|
| RGB | rgb(167, 86, 191) |
| HSL | hsl(286, 45%, 54%) |
| HSV | hsv(286, 55%, 75%) |
| CMYK | cmyk(12.6%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(50.26, 49.73, -41.46) |
| CIE-LCH | lch(50.26, 64.74, 320.18°) |
| OKLab | oklab(59.21% 0.1281 -0.1154) |
| OKLCH | oklch(59.21% 0.172 318) |
| XYZ | xyz(28.6668, 18.6337, 51.3667) |
| Luminance | 0.1863 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.16
Mediumorchid
#BA55D3
ΔE00 4.30
Deep Lavender
#8D5EB7
ΔE00 5.51
Lightish Purple
#A552E6
ΔE00 6.52
Pinky Purple
#C94CBE
ΔE00 6.58
Purply
#983FB2
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A756BF #6EBF56
analogous
#7356BF #A756BF #BF56A2
triadic
#A756BF #BFA756 #56BFA7
tetradic
#A756BF #BF7356 #6EBF56 #56A2BF
square
#A756BF #BF7356 #6EBF56 #56A2BF
split-complementary
#A756BF #A2BF56 #56BF73
monochromatic
#602A70 #863B9D #A756BF #BE82D0 #D5AFE1
Accessibility & contrast
On white
4.44
#A756BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#A756BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A756BF
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A756BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A756BF | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#A76682
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a756bf; /* rgb */ color: rgb(167, 86, 191); /* oklch */ color: oklch(59.2% 0.172 318.0);
Tailwind
colors: {
custom: {
50: '#c389d3',
500: '#a756bf',
950: '#000000',
},
}SCSS
$custom: #a756bf; $custom-light: #c389d3; $custom-dark: #000000;
JSON
{
"hex": "#a756bf",
"rgb": {
"r": 167,
"g": 86,
"b": 191
},
"hsl": {
"h": 286.286,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.59211,
"c": 0.17244,
"h": 318
},
"luminance": 0.18633
}Semantic roles & 50–950 ramp
primary
#A756BF
secondary
#ACCFA2
accent
#D55371
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83