#A56FD6#A56FD6
#A56FD6 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.0% C 0.157 H 306.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A56FD6 |
|---|---|
| RGB | rgb(165, 111, 214) |
| HSL | hsl(271, 56%, 64%) |
| HSV | hsv(271, 48%, 84%) |
| CMYK | cmyk(22.9%, 48.1%, 0%, 16.1%) |
| CIE-LAB | lab(56.31, 40.93, -45.03) |
| CIE-LCH | lch(56.31, 60.85, 312.26°) |
| OKLab | oklab(64.02% 0.0939 -0.126) |
| OKLCH | oklch(64.02% 0.157 306.7) |
| XYZ | xyz(33.3366, 24.2236, 66.5247) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.20
Deep Lilac
#966EBD
ΔE00 4.81
Light Urple
#B36FF6
ΔE00 5.04
Amethyst
#9B5FC0
ΔE00 5.83
Light Purple
#BF77F6
ΔE00 6.30
Wisteria
#A87DC2
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56FD6 #A0D66F
analogous
#716FD6 #A56FD6 #D66FD4
triadic
#A56FD6 #D6A56F #6FD6A5
tetradic
#A56FD6 #D6716F #A0D66F #6FD4D6
square
#A56FD6 #D6716F #A0D66F #6FD4D6
split-complementary
#A56FD6 #D4D66F #6FD671
monochromatic
#682D9E #873FC8 #A56FD6 #C39FE4 #E1CEF1
Accessibility & contrast
On white
3.59
#A56FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#A56FD6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56FD6
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56FD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56FD6 | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5385DA
Deuteranopia (green-blind)
#6287D3
Tritanopia (blue-blind)
#9E8198
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a56fd6; /* rgb */ color: rgb(165, 111, 214); /* oklch */ color: oklch(64.0% 0.157 306.7);
Tailwind
colors: {
custom: {
50: '#c299e3',
500: '#a56fd6',
950: '#000000',
},
}SCSS
$custom: #a56fd6; $custom-light: #c299e3; $custom-dark: #000000;
JSON
{
"hex": "#a56fd6",
"rgb": {
"r": 165,
"g": 111,
"b": 214
},
"hsl": {
"h": 271.456,
"s": 55.676,
"l": 63.725
},
"oklch": {
"l": 0.64024,
"c": 0.15713,
"h": 306.7
},
"luminance": 0.24223
}Semantic roles & 50–950 ramp
primary
#A56FD6
secondary
#D0E3BE
accent
#C3226F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83