#A56CD8#A56CD8
#A56CD8 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.7% C 0.164 H 306.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A56CD8 |
|---|---|
| RGB | rgb(165, 108, 216) |
| HSL | hsl(272, 58%, 64%) |
| HSV | hsv(272, 50%, 85%) |
| CMYK | cmyk(23.6%, 50%, 0%, 15.3%) |
| CIE-LAB | lab(55.77, 43.04, -47.02) |
| CIE-LCH | lch(55.77, 63.74, 312.47°) |
| OKLab | oklab(63.65% 0.0982 -0.1318) |
| OKLCH | oklch(63.65% 0.164 306.7) |
| XYZ | xyz(33.2718, 23.6826, 67.7708) |
| Luminance | 0.2368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.15
Light Urple
#B36FF6
ΔE00 4.81
Deep Lilac
#966EBD
ΔE00 5.18
Amethyst
#9B5FC0
ΔE00 5.46
Lighter Purple
#A55AF4
ΔE00 5.91
Mediumorchid
#BA55D3
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56CD8 #9FD86C
analogous
#6F6CD8 #A56CD8 #D86CD5
triadic
#A56CD8 #D8A56C #6CD8A5
tetradic
#A56CD8 #D86F6C #9FD86C #6CD5D8
square
#A56CD8 #D86F6C #9FD86C #6CD5D8
split-complementary
#A56CD8 #D5D86C #6CD86F
monochromatic
#682A9F #873CCB #A56CD8 #C39CE5 #E0CDF2
Accessibility & contrast
On white
3.66
#A56CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#A56CD8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56CD8
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56CD8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56CD8 | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D84DC
Deuteranopia (green-blind)
#5E86D5
Tritanopia (blue-blind)
#9D7F98
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a56cd8; /* rgb */ color: rgb(165, 108, 216); /* oklch */ color: oklch(63.7% 0.164 306.7);
Tailwind
colors: {
custom: {
50: '#c298e4',
500: '#a56cd8',
950: '#000000',
},
}SCSS
$custom: #a56cd8; $custom-light: #c298e4; $custom-dark: #000000;
JSON
{
"hex": "#a56cd8",
"rgb": {
"r": 165,
"g": 108,
"b": 216
},
"hsl": {
"h": 271.667,
"s": 58.065,
"l": 63.529
},
"oklch": {
"l": 0.63654,
"c": 0.16433,
"h": 306.7
},
"luminance": 0.23682
}Semantic roles & 50–950 ramp
primary
#A56CD8
secondary
#CFE3BD
accent
#C6206E
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84