#A956E8#A956E8
#A956E8 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.216 H 307.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A956E8 |
|---|---|
| RGB | rgb(169, 86, 232) |
| HSL | hsl(274, 76%, 62%) |
| HSV | hsv(274, 63%, 91%) |
| CMYK | cmyk(27.2%, 62.9%, 0%, 9%) |
| CIE-LAB | lab(52.86, 59.01, -60.66) |
| CIE-LCH | lch(52.86, 84.63, 314.21°) |
| OKLab | oklab(61.92% 0.1311 -0.1715) |
| OKLCH | oklch(61.92% 0.216 307.4) |
| XYZ | xyz(34.2524, 20.9172, 78.5613) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.32
Lighter Purple
#A55AF4
ΔE00 2.21
Mediumorchid
#BA55D3
ΔE00 5.18
Purpley
#8756E4
ΔE00 6.27
Amethyst
#9B5FC0
ΔE00 6.53
Light Urple
#B36FF6
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A956E8 #95E856
analogous
#6056E8 #A956E8 #E856DE
triadic
#A956E8 #E8A956 #56E8A9
tetradic
#A956E8 #E86056 #95E856 #56DEE8
square
#A956E8 #E86056 #95E856 #56DEE8
split-complementary
#A956E8 #DEE856 #56E860
monochromatic
#6C17AC #8E20E1 #A956E8 #C48CEF #E0C2F7
Accessibility & contrast
On white
4.05
#A956E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#A956E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A956E8
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A956E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A956E8 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#3A7FE5
Tritanopia (blue-blind)
#9F7497
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a956e8; /* rgb */ color: rgb(169, 86, 232); /* oklch */ color: oklch(61.9% 0.216 307.4);
Tailwind
colors: {
custom: {
50: '#c78af0',
500: '#a956e8',
950: '#000000',
},
}SCSS
$custom: #a956e8; $custom-light: #c78af0; $custom-dark: #000000;
JSON
{
"hex": "#a956e8",
"rgb": {
"r": 169,
"g": 86,
"b": 232
},
"hsl": {
"h": 274.11,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.61918,
"c": 0.21584,
"h": 307.4
},
"luminance": 0.20917
}Semantic roles & 50–950 ramp
primary
#A956E8
secondary
#C9E8B2
accent
#D80D65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85