#A56CD1#A56CD1
#A56CD1 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.3% C 0.156 H 308.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A56CD1 |
|---|---|
| RGB | rgb(165, 108, 209) |
| HSL | hsl(274, 52%, 62%) |
| HSV | hsv(274, 48%, 82%) |
| CMYK | cmyk(21.1%, 48.3%, 0%, 18%) |
| CIE-LAB | lab(55.41, 41.43, -43.63) |
| CIE-LCH | lch(55.41, 60.17, 313.52°) |
| OKLab | oklab(63.27% 0.0974 -0.1219) |
| OKLCH | oklch(63.27% 0.156 308.6) |
| XYZ | xyz(32.3860, 23.3283, 63.1060) |
| Luminance | 0.2333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.28
Amethyst
#9B5FC0
ΔE00 4.79
Mediumpurple
#9370DB
ΔE00 4.83
Light Urple
#B36FF6
ΔE00 5.85
Soft Purple
#A66FB5
ΔE00 6.05
Mediumorchid
#BA55D3
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56CD1 #98D16C
analogous
#726CD1 #A56CD1 #D16CCB
triadic
#A56CD1 #D1A56C #6CD1A5
tetradic
#A56CD1 #D1726C #98D16C #6CCBD1
square
#A56CD1 #D1726C #98D16C #6CCBD1
split-complementary
#A56CD1 #CBD16C #6CD172
monochromatic
#682E94 #883DC2 #A56CD1 #C29BE0 #DEC9EE
Accessibility & contrast
On white
3.71
#A56CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#A56CD1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56CD1
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56CD1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56CD1 | 1.00 | 3.71 | 5.67 | 5.67 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5282D5
Deuteranopia (green-blind)
#6285CE
Tritanopia (blue-blind)
#9F7D95
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a56cd1; /* rgb */ color: rgb(165, 108, 209); /* oklch */ color: oklch(63.3% 0.156 308.6);
Tailwind
colors: {
custom: {
50: '#c297df',
500: '#a56cd1',
950: '#000000',
},
}SCSS
$custom: #a56cd1; $custom-light: #c297df; $custom-dark: #000000;
JSON
{
"hex": "#a56cd1",
"rgb": {
"r": 165,
"g": 108,
"b": 209
},
"hsl": {
"h": 273.861,
"s": 52.332,
"l": 62.157
},
"oklch": {
"l": 0.6327,
"c": 0.15604,
"h": 308.6
},
"luminance": 0.23328
}Semantic roles & 50–950 ramp
primary
#A56CD1
secondary
#CADFBA
accent
#C02669
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83