#A778F2#A778F2
#A778F2 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.178 H 299.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A778F2 |
|---|---|
| RGB | rgb(167, 120, 242) |
| HSL | hsl(263, 82%, 71%) |
| HSV | hsv(263, 50%, 95%) |
| CMYK | cmyk(31%, 50.4%, 0%, 5.1%) |
| CIE-LAB | lab(59.94, 43.18, -54.91) |
| CIE-LCH | lch(59.94, 69.86, 308.18°) |
| OKLab | oklab(67.25% 0.0872 -0.1548) |
| OKLCH | oklch(67.25% 0.178 299.4) |
| XYZ | xyz(38.6760, 28.0589, 87.3655) |
| Luminance | 0.2806 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.09
Light Purple
#BF77F6
ΔE00 4.46
Easter Purple
#C071FE
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 5.01
Periwinkle (survey)
#8E82FE
ΔE00 6.53
Bright Lavender
#C760FF
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A778F2 #C3F278
analogous
#7886F2 #A778F2 #E478F2
triadic
#A778F2 #F2A778 #78F2A7
tetradic
#A778F2 #F27886 #C3F278 #78F2E4
square
#A778F2 #F27886 #C3F278 #78F2E4
split-complementary
#A778F2 #F2E478 #86F278
monochromatic
#6115DB #8340ED #A778F2 #CBB0F7 #EDE3FC
Accessibility & contrast
On white
3.18
#A778F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#A778F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A778F2
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A778F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A778F2 | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#5A8FEF
Tritanopia (blue-blind)
#988FAA
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a778f2; /* rgb */ color: rgb(167, 120, 242); /* oklch */ color: oklch(67.3% 0.178 299.4);
Tailwind
colors: {
custom: {
50: '#c4a0f7',
500: '#a778f2',
950: '#000000',
},
}SCSS
$custom: #a778f2; $custom-light: #c4a0f7; $custom-dark: #000000;
JSON
{
"hex": "#a778f2",
"rgb": {
"r": 167,
"g": 120,
"b": 242
},
"hsl": {
"h": 263.115,
"s": 82.432,
"l": 70.98
},
"oklch": {
"l": 0.67252,
"c": 0.17765,
"h": 299.4
},
"luminance": 0.28059
}Semantic roles & 50–950 ramp
primary
#A778F2
secondary
#E7F3D3
accent
#DF078C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85