#A178F9#A178F9
#A178F9 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.186 H 295.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #A178F9 |
|---|---|
| RGB | rgb(161, 120, 249) |
| HSL | hsl(259, 91%, 72%) |
| HSV | hsv(259, 52%, 98%) |
| CMYK | cmyk(35.3%, 51.8%, 0%, 2.4%) |
| CIE-LAB | lab(59.75, 43.46, -59.12) |
| CIE-LCH | lch(59.75, 73.38, 306.32°) |
| OKLab | oklab(67.1% 0.0803 -0.1673) |
| OKLCH | oklch(67.1% 0.186 295.6) |
| XYZ | xyz(38.5089, 27.8489, 92.9507) |
| Luminance | 0.2785 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.20
Periwinkle (survey)
#8E82FE
ΔE00 5.10
Mediumpurple
#9370DB
ΔE00 5.17
Easter Purple
#C071FE
ΔE00 5.80
Light Purple
#BF77F6
ΔE00 5.88
Lavender Blue
#8B88F8
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A178F9 #D0F978
analogous
#788FF9 #A178F9 #E278F9
triadic
#A178F9 #F9A178 #78F9A1
tetradic
#A178F9 #F9788F #D0F978 #78F9E2
square
#A178F9 #F9788F #D0F978 #78F9E2
split-complementary
#A178F9 #F9E278 #8FF978
monochromatic
#520AEC #783DF6 #A178F9 #CAB3FC #EBE2FE
Accessibility & contrast
On white
3.20
#A178F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#A178F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A178F9
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A178F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A178F9 | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4491FD
Deuteranopia (green-blind)
#4E8EF6
Tritanopia (blue-blind)
#8C92AD
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a178f9; /* rgb */ color: rgb(161, 120, 249); /* oklch */ color: oklch(67.1% 0.186 295.6);
Tailwind
colors: {
custom: {
50: '#c1a0fc',
500: '#a178f9',
950: '#000000',
},
}SCSS
$custom: #a178f9; $custom-light: #c1a0fc; $custom-dark: #000000;
JSON
{
"hex": "#a178f9",
"rgb": {
"r": 161,
"g": 120,
"b": 249
},
"hsl": {
"h": 259.07,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.67101,
"c": 0.18556,
"h": 295.6
},
"luminance": 0.2785
}Semantic roles & 50–950 ramp
primary
#A178F9
secondary
#EBF6D5
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85