#A56EF2#A56EF2
#A56EF2 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.5% C 0.192 H 300.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A56EF2 |
|---|---|
| RGB | rgb(165, 110, 242) |
| HSL | hsl(265, 84%, 69%) |
| HSV | hsv(265, 55%, 95%) |
| CMYK | cmyk(31.8%, 54.5%, 0%, 5.1%) |
| CIE-LAB | lab(57.62, 48.14, -58.63) |
| CIE-LCH | lch(57.62, 75.87, 309.39°) |
| OKLab | oklab(65.49% 0.0973 -0.1657) |
| OKLCH | oklch(65.49% 0.192 300.4) |
| XYZ | xyz(37.1162, 25.5618, 86.9657) |
| Luminance | 0.2556 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.56
Mediumpurple
#9370DB
ΔE00 4.41
Lighter Purple
#A55AF4
ΔE00 4.65
Easter Purple
#C071FE
ΔE00 4.90
Light Purple
#BF77F6
ΔE00 5.33
Bright Lavender
#C760FF
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56EF2 #BBF26E
analogous
#6E79F2 #A56EF2 #E76EF2
triadic
#A56EF2 #F2A56E #6EF2A5
tetradic
#A56EF2 #F26E79 #BBF26E #6EF2E7
square
#A56EF2 #F26E79 #BBF26E #6EF2E7
split-complementary
#A56EF2 #F2E76E #79F26E
monochromatic
#6313D3 #8236ED #A56EF2 #C8A6F7 #EBDEFC
Accessibility & contrast
On white
3.44
#A56EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#A56EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56EF2
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56EF2 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#388AF6
Deuteranopia (green-blind)
#4B8AEF
Tritanopia (blue-blind)
#9588A6
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a56ef2; /* rgb */ color: rgb(165, 110, 242); /* oklch */ color: oklch(65.5% 0.192 300.4);
Tailwind
colors: {
custom: {
50: '#c399f7',
500: '#a56ef2',
950: '#000000',
},
}SCSS
$custom: #a56ef2; $custom-light: #c399f7; $custom-dark: #000000;
JSON
{
"hex": "#a56ef2",
"rgb": {
"r": 165,
"g": 110,
"b": 242
},
"hsl": {
"h": 265,
"s": 83.544,
"l": 69.02
},
"oklch": {
"l": 0.65485,
"c": 0.19218,
"h": 300.4
},
"luminance": 0.25562
}Semantic roles & 50–950 ramp
primary
#A56EF2
secondary
#E1F1CB
accent
#E00685
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85