#A656E7#A656E7
#A656E7 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.5% C 0.214 H 306.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A656E7 |
|---|---|
| RGB | rgb(166, 86, 231) |
| HSL | hsl(273, 75%, 62%) |
| HSV | hsv(273, 63%, 91%) |
| CMYK | cmyk(28.1%, 62.8%, 0%, 9.4%) |
| CIE-LAB | lab(52.43, 58.12, -60.80) |
| CIE-LCH | lch(52.43, 84.11, 313.71°) |
| OKLab | oklab(61.51% 0.1273 -0.172) |
| OKLCH | oklch(61.51% 0.214 306.5) |
| XYZ | xyz(33.4744, 20.5324, 77.7855) |
| Luminance | 0.2053 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.96
Lighter Purple
#A55AF4
ΔE00 2.20
Mediumorchid
#BA55D3
ΔE00 5.53
Purpley
#8756E4
ΔE00 5.73
Amethyst
#9B5FC0
ΔE00 6.37
Light Urple
#B36FF6
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A656E7 #97E756
analogous
#5D56E7 #A656E7 #E756E0
triadic
#A656E7 #E7A656 #56E7A6
tetradic
#A656E7 #E75D56 #97E756 #56E0E7
square
#A656E7 #E75D56 #97E756 #56E0E7
split-complementary
#A656E7 #E0E756 #56E75D
monochromatic
#6918AA #8A20DF #A656E7 #C28CEF #DEC1F6
Accessibility & contrast
On white
4.11
#A656E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#A656E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A656E7
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A656E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A656E7 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#377EE4
Tritanopia (blue-blind)
#9B7497
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a656e7; /* rgb */ color: rgb(166, 86, 231); /* oklch */ color: oklch(61.5% 0.214 306.5);
Tailwind
colors: {
custom: {
50: '#c58aef',
500: '#a656e7',
950: '#000000',
},
}SCSS
$custom: #a656e7; $custom-light: #c58aef; $custom-dark: #000000;
JSON
{
"hex": "#a656e7",
"rgb": {
"r": 166,
"g": 86,
"b": 231
},
"hsl": {
"h": 273.103,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.61512,
"c": 0.21399,
"h": 306.5
},
"luminance": 0.20532
}Semantic roles & 50–950 ramp
primary
#A656E7
secondary
#CAE7B2
accent
#D70E68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85