#A756EA#A756EA
#A756EA is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.8% C 0.217 H 306.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A756EA |
|---|---|
| RGB | rgb(167, 86, 234) |
| HSL | hsl(273, 78%, 63%) |
| HSV | hsv(273, 63%, 92%) |
| CMYK | cmyk(28.6%, 63.2%, 0%, 8.2%) |
| CIE-LAB | lab(52.74, 59.02, -61.98) |
| CIE-LCH | lch(52.74, 85.59, 313.60°) |
| OKLab | oklab(61.82% 0.1284 -0.1754) |
| OKLCH | oklch(61.82% 0.217 306.2) |
| XYZ | xyz(34.1122, 20.8119, 80.0460) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.22
Lighter Purple
#A55AF4
ΔE00 1.83
Mediumorchid
#BA55D3
ΔE00 5.69
Purpley
#8756E4
ΔE00 5.87
Light Urple
#B36FF6
ΔE00 6.62
Amethyst
#9B5FC0
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A756EA #99EA56
analogous
#5D56EA #A756EA #EA56E3
triadic
#A756EA #EAA756 #56EAA7
tetradic
#A756EA #EA5D56 #99EA56 #56E3EA
square
#A756EA #EA5D56 #99EA56 #56E3EA
split-complementary
#A756EA #E3EA56 #56EA5D
monochromatic
#6A16B0 #8B20E3 #A756EA #C38CF1 #E0C3F8
Accessibility & contrast
On white
4.07
#A756EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#A756EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A756EA
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A756EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A756EA | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#347EE7
Tritanopia (blue-blind)
#9C7598
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a756ea; /* rgb */ color: rgb(167, 86, 234); /* oklch */ color: oklch(61.8% 0.217 306.2);
Tailwind
colors: {
custom: {
50: '#c58af1',
500: '#a756ea',
950: '#000000',
},
}SCSS
$custom: #a756ea; $custom-light: #c58af1; $custom-dark: #000000;
JSON
{
"hex": "#a756ea",
"rgb": {
"r": 167,
"g": 86,
"b": 234
},
"hsl": {
"h": 272.838,
"s": 77.895,
"l": 62.745
},
"oklch": {
"l": 0.61822,
"c": 0.21741,
"h": 306.2
},
"luminance": 0.20812
}Semantic roles & 50–950 ramp
primary
#A756EA
secondary
#CBE9B3
accent
#DA0B69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85