#A776F2#A776F2
#A776F2 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.181 H 299.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A776F2 |
|---|---|
| RGB | rgb(167, 118, 242) |
| HSL | hsl(264, 83%, 71%) |
| HSV | hsv(264, 51%, 95%) |
| CMYK | cmyk(31%, 51.2%, 0%, 5.1%) |
| CIE-LAB | lab(59.51, 44.28, -55.60) |
| CIE-LCH | lch(59.51, 71.08, 308.53°) |
| OKLab | oklab(66.93% 0.0897 -0.1568) |
| OKLCH | oklch(66.93% 0.181 299.8) |
| XYZ | xyz(38.4380, 27.5829, 87.2861) |
| Luminance | 0.2758 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.74
Light Purple
#BF77F6
ΔE00 4.45
Easter Purple
#C071FE
ΔE00 4.56
Mediumpurple
#9370DB
ΔE00 4.84
Lighter Purple
#A55AF4
ΔE00 6.70
Periwinkle (survey)
#8E82FE
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A776F2 #C1F276
analogous
#7683F2 #A776F2 #E576F2
triadic
#A776F2 #F2A776 #76F2A7
tetradic
#A776F2 #F27683 #C1F276 #76F2E5
square
#A776F2 #F27683 #C1F276 #76F2E5
split-complementary
#A776F2 #F2E576 #83F276
monochromatic
#6215D9 #833EED #A776F2 #CBAEF7 #EDE3FC
Accessibility & contrast
On white
3.22
#A776F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#A776F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A776F2
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A776F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A776F2 | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#988EA9
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a776f2; /* rgb */ color: rgb(167, 118, 242); /* oklch */ color: oklch(66.9% 0.181 299.8);
Tailwind
colors: {
custom: {
50: '#c49ff7',
500: '#a776f2',
950: '#000000',
},
}SCSS
$custom: #a776f2; $custom-light: #c49ff7; $custom-dark: #000000;
JSON
{
"hex": "#a776f2",
"rgb": {
"r": 167,
"g": 118,
"b": 242
},
"hsl": {
"h": 263.71,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.66931,
"c": 0.18065,
"h": 299.8
},
"luminance": 0.27583
}Semantic roles & 50–950 ramp
primary
#A776F2
secondary
#E5F3D1
accent
#DF0689
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85