#A178F6#A178F6
#A178F6 is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.9% C 0.182 H 296.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A178F6 |
|---|---|
| RGB | rgb(161, 120, 246) |
| HSL | hsl(260, 88%, 72%) |
| HSV | hsv(260, 51%, 96%) |
| CMYK | cmyk(34.6%, 51.2%, 0%, 3.5%) |
| CIE-LAB | lab(59.58, 42.70, -57.73) |
| CIE-LCH | lch(59.58, 71.81, 306.49°) |
| OKLab | oklab(66.92% 0.0801 -0.1632) |
| OKLCH | oklch(66.92% 0.182 296.1) |
| XYZ | xyz(38.0448, 27.6632, 90.5060) |
| Luminance | 0.2766 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.09
Mediumpurple
#9370DB
ΔE00 4.84
Periwinkle (survey)
#8E82FE
ΔE00 5.27
Light Purple
#BF77F6
ΔE00 5.76
Easter Purple
#C071FE
ΔE00 5.77
Lavender Blue
#8B88F8
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A178F6 #CDF678
analogous
#788EF6 #A178F6 #E078F6
triadic
#A178F6 #F6A178 #78F6A1
tetradic
#A178F6 #F6788E #CDF678 #78F6E0
square
#A178F6 #F6788E #CDF678 #78F6E0
split-complementary
#A178F6 #F6E078 #8EF678
monochromatic
#550FE4 #793FF2 #A178F6 #C9B1FA #EBE2FD
Accessibility & contrast
On white
3.21
#A178F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#A178F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A178F6
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A178F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A178F6 | 1.00 | 3.21 | 6.53 | 6.53 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4790FA
Deuteranopia (green-blind)
#518EF3
Tritanopia (blue-blind)
#8D91AC
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a178f6; /* rgb */ color: rgb(161, 120, 246); /* oklch */ color: oklch(66.9% 0.182 296.1);
Tailwind
colors: {
custom: {
50: '#c1a0fa',
500: '#a178f6',
950: '#000000',
},
}SCSS
$custom: #a178f6; $custom-light: #c1a0fa; $custom-dark: #000000;
JSON
{
"hex": "#a178f6",
"rgb": {
"r": 161,
"g": 120,
"b": 246
},
"hsl": {
"h": 259.524,
"s": 87.5,
"l": 71.765
},
"oklch": {
"l": 0.66921,
"c": 0.18182,
"h": 296.1
},
"luminance": 0.27664
}Semantic roles & 50–950 ramp
primary
#A178F6
secondary
#EAF5D5
accent
#E4019A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85