#A756CD#A756CD
#A756CD is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.0% C 0.187 H 313.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A756CD |
|---|---|
| RGB | rgb(167, 86, 205) |
| HSL | hsl(281, 54%, 57%) |
| HSV | hsv(281, 58%, 80%) |
| CMYK | cmyk(18.5%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(51.01, 52.65, -48.31) |
| CIE-LCH | lch(51.01, 71.45, 317.46°) |
| OKLab | oklab(60.01% 0.1289 -0.1354) |
| OKLCH | oklch(60.01% 0.187 313.6) |
| XYZ | xyz(30.2817, 19.2797, 59.8720) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.36
Mediumorchid
#BA55D3
ΔE00 3.60
Lightish Purple
#A552E6
ΔE00 4.08
Deep Lavender
#8D5EB7
ΔE00 5.88
Lighter Purple
#A55AF4
ΔE00 6.23
Deep Lilac
#966EBD
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A756CD #7CCD56
analogous
#6B56CD #A756CD #CD56B8
triadic
#A756CD #CDA756 #56CDA7
tetradic
#A756CD #CD6B56 #7CCD56 #56B8CD
square
#A756CD #CD6B56 #7CCD56 #56B8CD
split-complementary
#A756CD #B8CD56 #56CD6B
monochromatic
#652682 #8934B1 #A756CD #C085DB #D8B4E9
Accessibility & contrast
On white
4.32
#A756CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#A756CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A756CD
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A756CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A756CD | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3275D1
Deuteranopia (green-blind)
#517BCA
Tritanopia (blue-blind)
#A46B89
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a756cd; /* rgb */ color: rgb(167, 86, 205); /* oklch */ color: oklch(60.0% 0.187 313.6);
Tailwind
colors: {
custom: {
50: '#c489dd',
500: '#a756cd',
950: '#000000',
},
}SCSS
$custom: #a756cd; $custom-light: #c489dd; $custom-dark: #000000;
JSON
{
"hex": "#a756cd",
"rgb": {
"r": 167,
"g": 86,
"b": 205
},
"hsl": {
"h": 280.84,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.6001,
"c": 0.18694,
"h": 313.6
},
"luminance": 0.19279
}Semantic roles & 50–950 ramp
primary
#A756CD
secondary
#B7D8A7
accent
#DE4A79
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83