#A56FE9#A56FE9
#A56FE9 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.180 H 302.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A56FE9 |
|---|---|
| RGB | rgb(165, 111, 233) |
| HSL | hsl(267, 73%, 67%) |
| HSV | hsv(267, 52%, 91%) |
| CMYK | cmyk(29.2%, 52.4%, 0%, 8.6%) |
| CIE-LAB | lab(57.32, 45.42, -54.10) |
| CIE-LCH | lch(57.32, 70.64, 310.01°) |
| OKLab | oklab(65.1% 0.0956 -0.1525) |
| OKLCH | oklch(65.1% 0.18 302.1) |
| XYZ | xyz(35.9061, 25.2513, 80.0574) |
| Luminance | 0.2525 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.82
Mediumpurple
#9370DB
ΔE00 3.76
Lighter Purple
#A55AF4
ΔE00 5.10
Easter Purple
#C071FE
ΔE00 5.16
Light Purple
#BF77F6
ΔE00 5.21
Bright Lavender
#C760FF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56FE9 #B3E96F
analogous
#6F76E9 #A56FE9 #E26FE9
triadic
#A56FE9 #E9A56F #6FE9A5
tetradic
#A56FE9 #E96F76 #B3E96F #6FE9E2
square
#A56FE9 #E96F76 #B3E96F #6FE9E2
split-complementary
#A56FE9 #E9E26F #76E96F
monochromatic
#651DC0 #843AE1 #A56FE9 #C6A4F1 #E7D9F9
Accessibility & contrast
On white
3.47
#A56FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#A56FE9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56FE9
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56FE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56FE9 | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4489ED
Deuteranopia (green-blind)
#5489E6
Tritanopia (blue-blind)
#9886A2
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a56fe9; /* rgb */ color: rgb(165, 111, 233); /* oklch */ color: oklch(65.1% 0.180 302.1);
Tailwind
colors: {
custom: {
50: '#c39af1',
500: '#a56fe9',
950: '#000000',
},
}SCSS
$custom: #a56fe9; $custom-light: #c39af1; $custom-dark: #000000;
JSON
{
"hex": "#a56fe9",
"rgb": {
"r": 165,
"g": 111,
"b": 233
},
"hsl": {
"h": 266.557,
"s": 73.494,
"l": 67.451
},
"oklch": {
"l": 0.651,
"c": 0.17995,
"h": 302.1
},
"luminance": 0.25251
}Semantic roles & 50–950 ramp
primary
#A56FE9
secondary
#DCEDC7
accent
#D6107E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85