#A56AEF#A56AEF
#A56AEF is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.7% C 0.194 H 301.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A56AEF |
|---|---|
| RGB | rgb(165, 106, 239) |
| HSL | hsl(267, 81%, 68%) |
| HSV | hsv(267, 56%, 94%) |
| CMYK | cmyk(31%, 55.6%, 0%, 6.3%) |
| CIE-LAB | lab(56.62, 49.56, -58.56) |
| CIE-LCH | lch(56.62, 76.71, 310.24°) |
| OKLab | oklab(64.7% 0.1021 -0.1655) |
| OKLCH | oklch(64.7% 0.194 301.7) |
| XYZ | xyz(36.2475, 24.5393, 84.4715) |
| Luminance | 0.2454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.92
Lighter Purple
#A55AF4
ΔE00 3.69
Mediumpurple
#9370DB
ΔE00 4.40
Easter Purple
#C071FE
ΔE00 5.28
Light Purple
#BF77F6
ΔE00 5.81
Lightish Purple
#A552E6
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56AEF #B4EF6A
analogous
#6A71EF #A56AEF #E86AEF
triadic
#A56AEF #EFA56A #6AEFA5
tetradic
#A56AEF #EF6A71 #B4EF6A #6AEFE8
square
#A56AEF #EF6A71 #B4EF6A #6AEFE8
split-complementary
#A56AEF #EFE86A #71EF6A
monochromatic
#6516C9 #8433E9 #A56AEF #C6A1F5 #E8D9FB
Accessibility & contrast
On white
3.55
#A56AEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#A56AEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56AEF
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56AEF | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3287F3
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#9684A2
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a56aef; /* rgb */ color: rgb(165, 106, 239); /* oklch */ color: oklch(64.7% 0.194 301.7);
Tailwind
colors: {
custom: {
50: '#c397f5',
500: '#a56aef',
950: '#000000',
},
}SCSS
$custom: #a56aef; $custom-light: #c397f5; $custom-dark: #000000;
JSON
{
"hex": "#a56aef",
"rgb": {
"r": 165,
"g": 106,
"b": 239
},
"hsl": {
"h": 266.617,
"s": 80.606,
"l": 67.647
},
"oklch": {
"l": 0.64697,
"c": 0.19448,
"h": 301.7
},
"luminance": 0.24539
}Semantic roles & 50–950 ramp
primary
#A56AEF
secondary
#DDEFC6
accent
#DD097F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85