#A56CD7#A56CD7
#A56CD7 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.6% C 0.163 H 307.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A56CD7 |
|---|---|
| RGB | rgb(165, 108, 215) |
| HSL | hsl(272, 57%, 63%) |
| HSV | hsv(272, 50%, 84%) |
| CMYK | cmyk(23.3%, 49.8%, 0%, 15.7%) |
| CIE-LAB | lab(55.72, 42.81, -46.54) |
| CIE-LCH | lch(55.72, 63.23, 312.61°) |
| OKLab | oklab(63.6% 0.0981 -0.1304) |
| OKLCH | oklch(63.6% 0.163 307) |
| XYZ | xyz(33.1429, 23.6311, 67.0921) |
| Luminance | 0.2363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.23
Light Urple
#B36FF6
ΔE00 4.95
Deep Lilac
#966EBD
ΔE00 5.04
Amethyst
#9B5FC0
ΔE00 5.36
Lighter Purple
#A55AF4
ΔE00 6.04
Mediumorchid
#BA55D3
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56CD7 #9ED76C
analogous
#6F6CD7 #A56CD7 #D76CD3
triadic
#A56CD7 #D7A56C #6CD7A5
tetradic
#A56CD7 #D76F6C #9ED76C #6CD3D7
square
#A56CD7 #D76F6C #9ED76C #6CD3D7
split-complementary
#A56CD7 #D3D76C #6CD76F
monochromatic
#682B9E #883CCA #A56CD7 #C29CE4 #E0CCF1
Accessibility & contrast
On white
3.67
#A56CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#A56CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56CD7
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56CD7 | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E83DB
Deuteranopia (green-blind)
#5E86D4
Tritanopia (blue-blind)
#9D7E98
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a56cd7; /* rgb */ color: rgb(165, 108, 215); /* oklch */ color: oklch(63.6% 0.163 307.0);
Tailwind
colors: {
custom: {
50: '#c298e4',
500: '#a56cd7',
950: '#000000',
},
}SCSS
$custom: #a56cd7; $custom-light: #c298e4; $custom-dark: #000000;
JSON
{
"hex": "#a56cd7",
"rgb": {
"r": 165,
"g": 108,
"b": 215
},
"hsl": {
"h": 271.963,
"s": 57.219,
"l": 63.333
},
"oklch": {
"l": 0.63599,
"c": 0.16314,
"h": 307
},
"luminance": 0.23631
}Semantic roles & 50–950 ramp
primary
#A56CD7
secondary
#CEE2BC
accent
#C5216D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E15
muted
#827E84