#A56FF5#A56FF5
#A56FF5 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.8% C 0.194 H 299.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A56FF5 |
|---|---|
| RGB | rgb(165, 111, 245) |
| HSL | hsl(264, 87%, 70%) |
| HSV | hsv(264, 55%, 96%) |
| CMYK | cmyk(32.7%, 54.7%, 0%, 3.9%) |
| CIE-LAB | lab(58.00, 48.34, -59.69) |
| CIE-LCH | lch(58.00, 76.81, 309.00°) |
| OKLab | oklab(65.82% 0.0961 -0.1688) |
| OKLCH | oklch(65.82% 0.194 299.7) |
| XYZ | xyz(37.6790, 25.9605, 89.3943) |
| Luminance | 0.2596 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.58
Mediumpurple
#9370DB
ΔE00 4.66
Easter Purple
#C071FE
ΔE00 4.83
Lighter Purple
#A55AF4
ΔE00 4.92
Light Purple
#BF77F6
ΔE00 5.30
Bright Lavender
#C760FF
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56FF5 #BFF56F
analogous
#6F7CF5 #A56FF5 #E86FF5
triadic
#A56FF5 #F5A56F #6FF5A5
tetradic
#A56FF5 #F56F7C #BFF56F #6FF5E8
square
#A56FF5 #F56F7C #BFF56F #6FF5E8
split-complementary
#A56FF5 #F5E86F #7CF56F
monochromatic
#610FDA #8136F1 #A56FF5 #C9A8F9 #EDE1FD
Accessibility & contrast
On white
3.39
#A56FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#A56FF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56FF5
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56FF5 | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#378BF9
Deuteranopia (green-blind)
#498AF2
Tritanopia (blue-blind)
#948AA8
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a56ff5; /* rgb */ color: rgb(165, 111, 245); /* oklch */ color: oklch(65.8% 0.194 299.7);
Tailwind
colors: {
custom: {
50: '#c49af9',
500: '#a56ff5',
950: '#000000',
},
}SCSS
$custom: #a56ff5; $custom-light: #c49af9; $custom-dark: #000000;
JSON
{
"hex": "#a56ff5",
"rgb": {
"r": 165,
"g": 111,
"b": 245
},
"hsl": {
"h": 264.179,
"s": 87.013,
"l": 69.804
},
"oklch": {
"l": 0.65822,
"c": 0.19428,
"h": 299.7
},
"luminance": 0.25961
}Semantic roles & 50–950 ramp
primary
#A56FF5
secondary
#E4F3CD
accent
#E40289
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85