#A456F0#A456F0
#A456F0 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.9% C 0.223 H 303.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A456F0 |
|---|---|
| RGB | rgb(164, 86, 240) |
| HSL | hsl(270, 84%, 64%) |
| HSV | hsv(270, 64%, 94%) |
| CMYK | cmyk(31.7%, 64.2%, 0%, 5.9%) |
| CIE-LAB | lab(52.77, 59.76, -65.31) |
| CIE-LCH | lch(52.77, 88.53, 312.45°) |
| OKLab | oklab(61.89% 0.1241 -0.1853) |
| OKLCH | oklch(61.89% 0.223 303.8) |
| XYZ | xyz(34.3622, 20.8394, 84.6333) |
| Luminance | 0.2084 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.15
Lightish Purple
#A552E6
ΔE00 1.81
Purpley
#8756E4
ΔE00 5.37
Light Urple
#B36FF6
ΔE00 6.69
Mediumorchid
#BA55D3
ΔE00 6.75
Electric Purple
#AA23FF
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A456F0 #A2F056
analogous
#5756F0 #A456F0 #F056EF
triadic
#A456F0 #F0A456 #56F0A4
tetradic
#A456F0 #F05756 #A2F056 #56EFF0
square
#A456F0 #F05756 #A2F056 #56EFF0
split-complementary
#A456F0 #EFF056 #56F057
monochromatic
#6711BB #861EEB #A456F0 #C28EF5 #E1C6FA
Accessibility & contrast
On white
4.06
#A456F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#A456F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A456F0
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A456F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A456F0 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#247EED
Tritanopia (blue-blind)
#96779C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a456f0; /* rgb */ color: rgb(164, 86, 240); /* oklch */ color: oklch(61.9% 0.223 303.8);
Tailwind
colors: {
custom: {
50: '#c48af6',
500: '#a456f0',
950: '#000000',
},
}SCSS
$custom: #a456f0; $custom-light: #c48af6; $custom-dark: #000000;
JSON
{
"hex": "#a456f0",
"rgb": {
"r": 164,
"g": 86,
"b": 240
},
"hsl": {
"h": 270.39,
"s": 83.696,
"l": 63.922
},
"oklch": {
"l": 0.61889,
"c": 0.22305,
"h": 303.8
},
"luminance": 0.20839
}Semantic roles & 50–950 ramp
primary
#A456F0
secondary
#D1ECB6
accent
#E00571
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85