#A256F2#A256F2
#A256F2 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.8% C 0.225 H 302.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A256F2 |
|---|---|
| RGB | rgb(162, 86, 242) |
| HSL | hsl(269, 86%, 64%) |
| HSV | hsv(269, 64%, 95%) |
| CMYK | cmyk(33.1%, 64.5%, 0%, 5.1%) |
| CIE-LAB | lab(52.67, 59.81, -66.61) |
| CIE-LCH | lch(52.67, 89.52, 311.92°) |
| OKLab | oklab(61.81% 0.1214 -0.1892) |
| OKLCH | oklch(61.81% 0.225 302.7) |
| XYZ | xyz(34.2514, 20.7477, 86.1874) |
| Luminance | 0.2075 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.18
Lightish Purple
#A552E6
ΔE00 2.14
Purpley
#8756E4
ΔE00 5.09
Electric Purple
#AA23FF
ΔE00 6.83
Light Urple
#B36FF6
ΔE00 6.86
Neon Purple
#BC13FE
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A256F2 #A6F256
analogous
#5658F2 #A256F2 #F056F2
triadic
#A256F2 #F2A256 #56F2A2
tetradic
#A256F2 #F25658 #A6F256 #56F2F0
square
#A256F2 #F25658 #A6F256 #56F2F0
split-complementary
#A256F2 #F2F056 #58F256
monochromatic
#650FBF #831DEE #A256F2 #C18FF6 #E1C8FB
Accessibility & contrast
On white
4.08
#A256F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#A256F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A256F2
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A256F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A256F2 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#1A7DEF
Tritanopia (blue-blind)
#92789D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a256f2; /* rgb */ color: rgb(162, 86, 242); /* oklch */ color: oklch(61.8% 0.225 302.7);
Tailwind
colors: {
custom: {
50: '#c38af7',
500: '#a256f2',
950: '#000000',
},
}SCSS
$custom: #a256f2; $custom-light: #c38af7; $custom-dark: #000000;
JSON
{
"hex": "#a256f2",
"rgb": {
"r": 162,
"g": 86,
"b": 242
},
"hsl": {
"h": 269.231,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.61806,
"c": 0.22477,
"h": 302.7
},
"luminance": 0.20748
}Semantic roles & 50–950 ramp
primary
#A256F2
secondary
#D3EDB7
accent
#E20376
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85