#A56AF1#A56AF1
#A56AF1 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.8% C 0.197 H 301.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A56AF1 |
|---|---|
| RGB | rgb(165, 106, 241) |
| HSL | hsl(266, 83%, 68%) |
| HSV | hsv(266, 56%, 95%) |
| CMYK | cmyk(31.5%, 56%, 0%, 5.5%) |
| CIE-LAB | lab(56.74, 50.04, -59.48) |
| CIE-LCH | lch(56.74, 77.73, 310.07°) |
| OKLab | oklab(64.82% 0.1021 -0.1682) |
| OKLCH | oklch(64.82% 0.197 301.3) |
| XYZ | xyz(36.5445, 24.6581, 86.0362) |
| Luminance | 0.2466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.89
Lighter Purple
#A55AF4
ΔE00 3.67
Mediumpurple
#9370DB
ΔE00 4.54
Easter Purple
#C071FE
ΔE00 5.23
Light Purple
#BF77F6
ΔE00 5.83
Bright Lavender
#C760FF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56AF1 #B6F16A
analogous
#6A72F1 #A56AF1 #E86AF1
triadic
#A56AF1 #F1A56A #6AF1A5
tetradic
#A56AF1 #F16A72 #B6F16A #6AF1E8
square
#A56AF1 #F16A72 #B6F16A #6AF1E8
split-complementary
#A56AF1 #F1E86A #72F16A
monochromatic
#6513CD #8332EC #A56AF1 #C7A2F6 #E9DAFC
Accessibility & contrast
On white
3.54
#A56AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#A56AF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56AF1
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56AF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56AF1 | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F87F5
Deuteranopia (green-blind)
#4687EE
Tritanopia (blue-blind)
#9685A4
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a56af1; /* rgb */ color: rgb(165, 106, 241); /* oklch */ color: oklch(64.8% 0.197 301.3);
Tailwind
colors: {
custom: {
50: '#c497f6',
500: '#a56af1',
950: '#000000',
},
}SCSS
$custom: #a56af1; $custom-light: #c497f6; $custom-dark: #000000;
JSON
{
"hex": "#a56af1",
"rgb": {
"r": 165,
"g": 106,
"b": 241
},
"hsl": {
"h": 266.222,
"s": 82.822,
"l": 68.039
},
"oklch": {
"l": 0.64821,
"c": 0.19682,
"h": 301.3
},
"luminance": 0.24658
}Semantic roles & 50–950 ramp
primary
#A56AF1
secondary
#DEF0C7
accent
#DF0680
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85