#A56FDF#A56FDF
#A56FDF is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.5% C 0.168 H 304.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A56FDF |
|---|---|
| RGB | rgb(165, 111, 223) |
| HSL | hsl(269, 64%, 65%) |
| HSV | hsv(269, 50%, 87%) |
| CMYK | cmyk(26%, 50.2%, 0%, 12.5%) |
| CIE-LAB | lab(56.78, 43.03, -49.36) |
| CIE-LCH | lch(56.78, 65.49, 311.08°) |
| OKLab | oklab(64.52% 0.0948 -0.1386) |
| OKLCH | oklch(64.52% 0.168 304.4) |
| XYZ | xyz(34.5179, 24.6961, 72.7461) |
| Luminance | 0.2470 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.65
Light Urple
#B36FF6
ΔE00 3.80
Light Purple
#BF77F6
ΔE00 5.59
Lighter Purple
#A55AF4
ΔE00 5.78
Easter Purple
#C071FE
ΔE00 5.88
Deep Lilac
#966EBD
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56FDF #A9DF6F
analogous
#6F71DF #A56FDF #DD6FDF
triadic
#A56FDF #DFA56F #6FDFA5
tetradic
#A56FDF #DF6F71 #A9DF6F #6FDFDD
square
#A56FDF #DF6F71 #A9DF6F #6FDFDD
split-complementary
#A56FDF #DFDD6F #71DF6F
monochromatic
#6726AD #863DD4 #A56FDF #C4A1EA #E4D3F5
Accessibility & contrast
On white
3.54
#A56FDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#A56FDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56FDF
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56FDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56FDF | 1.00 | 3.54 | 5.94 | 5.94 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D87E3
Deuteranopia (green-blind)
#5C88DC
Tritanopia (blue-blind)
#9B839D
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a56fdf; /* rgb */ color: rgb(165, 111, 223); /* oklch */ color: oklch(64.5% 0.168 304.4);
Tailwind
colors: {
custom: {
50: '#c29ae9',
500: '#a56fdf',
950: '#000000',
},
}SCSS
$custom: #a56fdf; $custom-light: #c29ae9; $custom-dark: #000000;
JSON
{
"hex": "#a56fdf",
"rgb": {
"r": 165,
"g": 111,
"b": 223
},
"hsl": {
"h": 268.929,
"s": 63.636,
"l": 65.49
},
"oklch": {
"l": 0.64524,
"c": 0.16794,
"h": 304.4
},
"luminance": 0.24696
}Semantic roles & 50–950 ramp
primary
#A56FDF
secondary
#D6E8C2
accent
#CB1A76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84