#A56FD2#A56FD2
#A56FD2 is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.8% C 0.152 H 307.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A56FD2 |
|---|---|
| RGB | rgb(165, 111, 210) |
| HSL | hsl(273, 52%, 63%) |
| HSV | hsv(273, 47%, 82%) |
| CMYK | cmyk(21.4%, 47.1%, 0%, 17.6%) |
| CIE-LAB | lab(56.11, 40.01, -43.09) |
| CIE-LCH | lch(56.11, 58.80, 312.87°) |
| OKLab | oklab(63.81% 0.0934 -0.1203) |
| OKLCH | oklch(63.81% 0.152 307.8) |
| XYZ | xyz(32.8321, 24.0217, 63.8673) |
| Luminance | 0.2402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.29
Mediumpurple
#9370DB
ΔE00 4.63
Amethyst
#9B5FC0
ΔE00 5.50
Light Urple
#B36FF6
ΔE00 5.66
Wisteria
#A87DC2
ΔE00 5.95
Soft Purple
#A66FB5
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56FD2 #9CD26F
analogous
#736FD2 #A56FD2 #D26FCE
triadic
#A56FD2 #D2A56F #6FD2A5
tetradic
#A56FD2 #D2736F #9CD26F #6FCED2
square
#A56FD2 #D2736F #9CD26F #6FCED2
split-complementary
#A56FD2 #CED26F #6FD273
monochromatic
#682F97 #8840C3 #A56FD2 #C29EE1 #DFCCEF
Accessibility & contrast
On white
3.62
#A56FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#A56FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56FD2
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56FD2 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5684D5
Deuteranopia (green-blind)
#6487CF
Tritanopia (blue-blind)
#9F7F97
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a56fd2; /* rgb */ color: rgb(165, 111, 210); /* oklch */ color: oklch(63.8% 0.152 307.8);
Tailwind
colors: {
custom: {
50: '#c299e0',
500: '#a56fd2',
950: '#000000',
},
}SCSS
$custom: #a56fd2; $custom-light: #c299e0; $custom-dark: #000000;
JSON
{
"hex": "#a56fd2",
"rgb": {
"r": 165,
"g": 111,
"b": 210
},
"hsl": {
"h": 272.727,
"s": 52.381,
"l": 62.941
},
"oklch": {
"l": 0.63808,
"c": 0.15232,
"h": 307.8
},
"luminance": 0.24021
}Semantic roles & 50–950 ramp
primary
#A56FD2
secondary
#CDE0BD
accent
#C0266C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83