#A156F7#A156F7
#A156F7 is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.0% C 0.230 H 301.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A156F7 |
|---|---|
| RGB | rgb(161, 86, 247) |
| HSL | hsl(268, 91%, 65%) |
| HSV | hsv(268, 65%, 97%) |
| CMYK | cmyk(34.8%, 65.2%, 0%, 3.1%) |
| CIE-LAB | lab(52.89, 60.78, -69.05) |
| CIE-LCH | lch(52.89, 91.99, 311.36°) |
| OKLab | oklab(62.04% 0.1196 -0.1964) |
| OKLCH | oklch(62.04% 0.23 301.3) |
| XYZ | xyz(34.8102, 20.9479, 90.1871) |
| Luminance | 0.2095 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.28
Lightish Purple
#A552E6
ΔE00 2.82
Purpley
#8756E4
ΔE00 5.15
Electric Purple
#AA23FF
ΔE00 6.87
Light Urple
#B36FF6
ΔE00 6.90
Neon Purple
#BC13FE
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A156F7 #ACF756
analogous
#565CF7 #A156F7 #F156F7
triadic
#A156F7 #F7A156 #56F7A1
tetradic
#A156F7 #F7565C #ACF756 #56F7F1
square
#A156F7 #F7565C #ACF756 #56F7F1
split-complementary
#A156F7 #F7F156 #5CF756
monochromatic
#630AC9 #801CF4 #A156F7 #C290FA #E2CBFD
Accessibility & contrast
On white
4.05
#A156F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#A156F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A156F7
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A156F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A156F7 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#8F7A9F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a156f7; /* rgb */ color: rgb(161, 86, 247); /* oklch */ color: oklch(62.0% 0.230 301.3);
Tailwind
colors: {
custom: {
50: '#c28afb',
500: '#a156f7',
950: '#000000',
},
}SCSS
$custom: #a156f7; $custom-light: #c28afb; $custom-dark: #000000;
JSON
{
"hex": "#a156f7",
"rgb": {
"r": 161,
"g": 86,
"b": 247
},
"hsl": {
"h": 267.95,
"s": 90.96,
"l": 65.294
},
"oklch": {
"l": 0.62045,
"c": 0.22993,
"h": 301.3
},
"luminance": 0.20948
}Semantic roles & 50–950 ramp
primary
#A156F7
secondary
#D6F0B9
accent
#E6007B
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85