#A56CDF#A56CDF
#A56CDF is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.0% C 0.173 H 304.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A56CDF |
|---|---|
| RGB | rgb(165, 108, 223) |
| HSL | hsl(270, 64%, 65%) |
| HSV | hsv(270, 52%, 87%) |
| CMYK | cmyk(26%, 51.6%, 0%, 12.5%) |
| CIE-LAB | lab(56.14, 44.67, -50.38) |
| CIE-LCH | lch(56.14, 67.33, 311.56°) |
| OKLab | oklab(64.05% 0.0988 -0.1416) |
| OKLCH | oklch(64.05% 0.173 304.9) |
| XYZ | xyz(34.1960, 24.0524, 72.6388) |
| Luminance | 0.2405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.80
Light Urple
#B36FF6
ΔE00 3.90
Lighter Purple
#A55AF4
ΔE00 5.12
Light Purple
#BF77F6
ΔE00 5.93
Easter Purple
#C071FE
ΔE00 6.04
Deep Lilac
#966EBD
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56CDF #A6DF6C
analogous
#6C6DDF #A56CDF #DE6CDF
triadic
#A56CDF #DFA56C #6CDFA5
tetradic
#A56CDF #DF6C6D #A6DF6C #6CDFDE
square
#A56CDF #DF6C6D #A6DF6C #6CDFDE
split-complementary
#A56CDF #DFDE6C #6DDF6C
monochromatic
#6825AB #863AD4 #A56CDF #C49EEA #E3D1F5
Accessibility & contrast
On white
3.61
#A56CDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#A56CDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56CDF
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56CDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56CDF | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#5987DC
Tritanopia (blue-blind)
#9B819B
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a56cdf; /* rgb */ color: rgb(165, 108, 223); /* oklch */ color: oklch(64.0% 0.173 304.9);
Tailwind
colors: {
custom: {
50: '#c298e9',
500: '#a56cdf',
950: '#000000',
},
}SCSS
$custom: #a56cdf; $custom-light: #c298e9; $custom-dark: #000000;
JSON
{
"hex": "#a56cdf",
"rgb": {
"r": 165,
"g": 108,
"b": 223
},
"hsl": {
"h": 269.739,
"s": 64.246,
"l": 64.902
},
"oklch": {
"l": 0.6405,
"c": 0.17263,
"h": 304.9
},
"luminance": 0.24052
}Semantic roles & 50–950 ramp
primary
#A56CDF
secondary
#D4E7C0
accent
#CC1974
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84