#A778F5#A778F5
#A778F5 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.181 H 298.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A778F5 |
|---|---|
| RGB | rgb(167, 120, 245) |
| HSL | hsl(263, 86%, 72%) |
| HSV | hsv(263, 51%, 96%) |
| CMYK | cmyk(31.8%, 51%, 0%, 3.9%) |
| CIE-LAB | lab(60.11, 43.92, -56.31) |
| CIE-LCH | lch(60.11, 71.41, 307.95°) |
| OKLab | oklab(67.43% 0.0874 -0.1589) |
| OKLCH | oklch(67.43% 0.181 298.8) |
| XYZ | xyz(39.1303, 28.2406, 89.7579) |
| Luminance | 0.2824 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.13
Light Purple
#BF77F6
ΔE00 4.56
Easter Purple
#C071FE
ΔE00 4.68
Mediumpurple
#9370DB
ΔE00 5.25
Periwinkle (survey)
#8E82FE
ΔE00 6.31
Bright Lavender
#C760FF
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A778F5 #C6F578
analogous
#7888F5 #A778F5 #E678F5
triadic
#A778F5 #F5A778 #78F5A7
tetradic
#A778F5 #F57888 #C6F578 #78F5E6
square
#A778F5 #F57888 #C6F578 #78F5E6
split-complementary
#A778F5 #F5E678 #88F578
monochromatic
#5F11E2 #823FF1 #A778F5 #CCB1F9 #ECE3FD
Accessibility & contrast
On white
3.16
#A778F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#A778F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A778F5
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A778F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A778F5 | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B91F9
Deuteranopia (green-blind)
#5790F2
Tritanopia (blue-blind)
#9790AB
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a778f5; /* rgb */ color: rgb(167, 120, 245); /* oklch */ color: oklch(67.4% 0.181 298.8);
Tailwind
colors: {
custom: {
50: '#c5a0f9',
500: '#a778f5',
950: '#000000',
},
}SCSS
$custom: #a778f5; $custom-light: #c5a0f9; $custom-dark: #000000;
JSON
{
"hex": "#a778f5",
"rgb": {
"r": 167,
"g": 120,
"b": 245
},
"hsl": {
"h": 262.56,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.67426,
"c": 0.18134,
"h": 298.8
},
"luminance": 0.28241
}Semantic roles & 50–950 ramp
primary
#A778F5
secondary
#E8F4D4
accent
#E3038F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85