#A156FC#A156FC
#A156FC is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.4% C 0.235 H 300.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A156FC |
|---|---|
| RGB | rgb(161, 86, 252) |
| HSL | hsl(267, 97%, 66%) |
| HSV | hsv(267, 66%, 99%) |
| CMYK | cmyk(36.1%, 65.9%, 0%, 1.2%) |
| CIE-LAB | lab(53.23, 61.97, -71.28) |
| CIE-LCH | lch(53.23, 94.45, 311.01°) |
| OKLab | oklab(62.4% 0.119 -0.2029) |
| OKLCH | oklch(62.4% 0.235 300.4) |
| XYZ | xyz(35.5921, 21.2606, 94.3052) |
| Luminance | 0.2126 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.57
Lightish Purple
#A552E6
ΔE00 3.46
Purpley
#8756E4
ΔE00 5.46
Light Urple
#B36FF6
ΔE00 6.87
Electric Purple
#AA23FF
ΔE00 7.00
Bright Lavender
#C760FF
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A156FC #B1FC56
analogous
#565EFC #A156FC #F456FC
triadic
#A156FC #FCA156 #56FCA1
tetradic
#A156FC #FC565E #B1FC56 #56FCF4
square
#A156FC #FC565E #B1FC56 #56FCF4
split-complementary
#A156FC #FCF456 #5EFC56
monochromatic
#6204D4 #801AFB #A156FC #C292FD #E4CEFE
Accessibility & contrast
On white
4.00
#A156FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#A156FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A156FC
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A156FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A156FC | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#8D7CA2
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a156fc; /* rgb */ color: rgb(161, 86, 252); /* oklch */ color: oklch(62.4% 0.235 300.4);
Tailwind
colors: {
custom: {
50: '#c38afe',
500: '#a156fc',
950: '#000000',
},
}SCSS
$custom: #a156fc; $custom-light: #c38afe; $custom-dark: #000000;
JSON
{
"hex": "#a156fc",
"rgb": {
"r": 161,
"g": 86,
"b": 252
},
"hsl": {
"h": 267.108,
"s": 96.512,
"l": 66.275
},
"oklch": {
"l": 0.62398,
"c": 0.23527,
"h": 300.4
},
"luminance": 0.21261
}Semantic roles & 50–950 ramp
primary
#A156FC
secondary
#DAF2BC
accent
#E6007E
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86