#A756E8#A756E8
#A756E8 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.215 H 306.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A756E8 |
|---|---|
| RGB | rgb(167, 86, 232) |
| HSL | hsl(273, 76%, 62%) |
| HSV | hsv(273, 63%, 91%) |
| CMYK | cmyk(28%, 62.9%, 0%, 9%) |
| CIE-LAB | lab(52.62, 58.57, -61.06) |
| CIE-LCH | lch(52.62, 84.61, 313.81°) |
| OKLab | oklab(61.69% 0.1285 -0.1727) |
| OKLCH | oklch(61.69% 0.215 306.6) |
| XYZ | xyz(33.8265, 20.6976, 78.5413) |
| Luminance | 0.2070 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.09
Lighter Purple
#A55AF4
ΔE00 2.10
Mediumorchid
#BA55D3
ΔE00 5.48
Purpley
#8756E4
ΔE00 5.90
Amethyst
#9B5FC0
ΔE00 6.51
Light Urple
#B36FF6
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A756E8 #97E856
analogous
#5E56E8 #A756E8 #E856E0
triadic
#A756E8 #E8A756 #56E8A7
tetradic
#A756E8 #E85E56 #97E856 #56E0E8
square
#A756E8 #E85E56 #97E856 #56E0E8
split-complementary
#A756E8 #E0E856 #56E85E
monochromatic
#6A17AC #8B20E1 #A756E8 #C38CEF #DFC2F7
Accessibility & contrast
On white
4.09
#A756E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#A756E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A756E8
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A756E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A756E8 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#377EE5
Tritanopia (blue-blind)
#9C7497
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a756e8; /* rgb */ color: rgb(167, 86, 232); /* oklch */ color: oklch(61.7% 0.215 306.6);
Tailwind
colors: {
custom: {
50: '#c58af0',
500: '#a756e8',
950: '#000000',
},
}SCSS
$custom: #a756e8; $custom-light: #c58af0; $custom-dark: #000000;
JSON
{
"hex": "#a756e8",
"rgb": {
"r": 167,
"g": 86,
"b": 232
},
"hsl": {
"h": 273.288,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.61691,
"c": 0.21531,
"h": 306.6
},
"luminance": 0.20697
}Semantic roles & 50–950 ramp
primary
#A756E8
secondary
#CAE8B2
accent
#D80D68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85