#A756E6#A756E6
#A756E6 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.213 H 307.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A756E6 |
|---|---|
| RGB | rgb(167, 86, 230) |
| HSL | hsl(274, 74%, 62%) |
| HSV | hsv(274, 63%, 90%) |
| CMYK | cmyk(27.4%, 62.6%, 0%, 9.8%) |
| CIE-LAB | lab(52.49, 58.12, -60.14) |
| CIE-LCH | lch(52.49, 83.63, 314.02°) |
| OKLab | oklab(61.56% 0.1286 -0.17) |
| OKLCH | oklch(61.56% 0.213 307.1) |
| XYZ | xyz(33.5441, 20.5846, 77.0537) |
| Luminance | 0.2058 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.03
Lighter Purple
#A55AF4
ΔE00 2.37
Mediumorchid
#BA55D3
ΔE00 5.27
Purpley
#8756E4
ΔE00 5.94
Amethyst
#9B5FC0
ΔE00 6.25
Light Urple
#B36FF6
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A756E6 #95E656
analogous
#5F56E6 #A756E6 #E656DD
triadic
#A756E6 #E6A756 #56E6A7
tetradic
#A756E6 #E65F56 #95E656 #56DDE6
square
#A756E6 #E65F56 #95E656 #56DDE6
split-complementary
#A756E6 #DDE656 #56E65F
monochromatic
#6A19A9 #8B21DE #A756E6 #C38BEE #DFC1F6
Accessibility & contrast
On white
4.10
#A756E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#A756E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A756E6
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A756E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A756E6 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#3A7EE3
Tritanopia (blue-blind)
#9D7496
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a756e6; /* rgb */ color: rgb(167, 86, 230); /* oklch */ color: oklch(61.6% 0.213 307.1);
Tailwind
colors: {
custom: {
50: '#c58aef',
500: '#a756e6',
950: '#000000',
},
}SCSS
$custom: #a756e6; $custom-light: #c58aef; $custom-dark: #000000;
JSON
{
"hex": "#a756e6",
"rgb": {
"r": 167,
"g": 86,
"b": 230
},
"hsl": {
"h": 273.75,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.6156,
"c": 0.2132,
"h": 307.1
},
"luminance": 0.20584
}Semantic roles & 50–950 ramp
primary
#A756E6
secondary
#C9E6B1
accent
#D60F66
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84