#A56CD2#A56CD2
#A56CD2 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.3% C 0.157 H 308.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A56CD2 |
|---|---|
| RGB | rgb(165, 108, 210) |
| HSL | hsl(274, 53%, 62%) |
| HSV | hsv(274, 49%, 82%) |
| CMYK | cmyk(21.4%, 48.6%, 0%, 17.6%) |
| CIE-LAB | lab(55.46, 41.66, -44.12) |
| CIE-LCH | lch(55.46, 60.68, 313.36°) |
| OKLab | oklab(63.32% 0.0975 -0.1233) |
| OKLCH | oklch(63.32% 0.157 308.3) |
| XYZ | xyz(32.5102, 23.3780, 63.7600) |
| Luminance | 0.2338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.40
Mediumpurple
#9370DB
ΔE00 4.72
Amethyst
#9B5FC0
ΔE00 4.87
Light Urple
#B36FF6
ΔE00 5.70
Mediumorchid
#BA55D3
ΔE00 6.14
Soft Purple
#A66FB5
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56CD2 #99D26C
analogous
#726CD2 #A56CD2 #D26CCC
triadic
#A56CD2 #D2A56C #6CD2A5
tetradic
#A56CD2 #D2726C #99D26C #6CCCD2
square
#A56CD2 #D2726C #99D26C #6CCCD2
split-complementary
#A56CD2 #CCD26C #6CD272
monochromatic
#682E96 #883DC4 #A56CD2 #C29BE0 #DECAEF
Accessibility & contrast
On white
3.70
#A56CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#A56CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56CD2
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56CD2 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5182D6
Deuteranopia (green-blind)
#6186CF
Tritanopia (blue-blind)
#9F7D95
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a56cd2; /* rgb */ color: rgb(165, 108, 210); /* oklch */ color: oklch(63.3% 0.157 308.3);
Tailwind
colors: {
custom: {
50: '#c297e0',
500: '#a56cd2',
950: '#000000',
},
}SCSS
$custom: #a56cd2; $custom-light: #c297e0; $custom-dark: #000000;
JSON
{
"hex": "#a56cd2",
"rgb": {
"r": 165,
"g": 108,
"b": 210
},
"hsl": {
"h": 273.529,
"s": 53.125,
"l": 62.353
},
"oklch": {
"l": 0.63324,
"c": 0.15723,
"h": 308.3
},
"luminance": 0.23378
}Semantic roles & 50–950 ramp
primary
#A56CD2
secondary
#CBE0BA
accent
#C1256A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83