#A56BF2#A56BF2
#A56BF2 is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.0% C 0.197 H 300.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A56BF2 |
|---|---|
| RGB | rgb(165, 107, 242) |
| HSL | hsl(266, 84%, 68%) |
| HSV | hsv(266, 56%, 95%) |
| CMYK | cmyk(31.8%, 55.8%, 0%, 5.1%) |
| CIE-LAB | lab(57.00, 49.75, -59.62) |
| CIE-LCH | lch(57.00, 77.65, 309.84°) |
| OKLab | oklab(65.03% 0.1009 -0.1686) |
| OKLCH | oklch(65.03% 0.197 300.9) |
| XYZ | xyz(36.7980, 24.9253, 86.8596) |
| Luminance | 0.2493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.77
Lighter Purple
#A55AF4
ΔE00 3.91
Mediumpurple
#9370DB
ΔE00 4.55
Easter Purple
#C071FE
ΔE00 5.12
Light Purple
#BF77F6
ΔE00 5.70
Bright Lavender
#C760FF
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56BF2 #B8F26B
analogous
#6B74F2 #A56BF2 #E96BF2
triadic
#A56BF2 #F2A56B #6BF2A5
tetradic
#A56BF2 #F26B74 #B8F26B #6BF2E9
square
#A56BF2 #F26B74 #B8F26B #6BF2E9
split-complementary
#A56BF2 #F2E96B #74F26B
monochromatic
#6412D0 #8333ED #A56BF2 #C7A3F7 #E9DCFC
Accessibility & contrast
On white
3.51
#A56BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#A56BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56BF2
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56BF2 | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#4788EF
Tritanopia (blue-blind)
#9586A4
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a56bf2; /* rgb */ color: rgb(165, 107, 242); /* oklch */ color: oklch(65.0% 0.197 300.9);
Tailwind
colors: {
custom: {
50: '#c497f7',
500: '#a56bf2',
950: '#000000',
},
}SCSS
$custom: #a56bf2; $custom-light: #c497f7; $custom-dark: #000000;
JSON
{
"hex": "#a56bf2",
"rgb": {
"r": 165,
"g": 107,
"b": 242
},
"hsl": {
"h": 265.778,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.65032,
"c": 0.19654,
"h": 300.9
},
"luminance": 0.24926
}Semantic roles & 50–950 ramp
primary
#A56BF2
secondary
#DFF1C8
accent
#E00582
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85