#A771CB#A771CB
#A771CB is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.0% C 0.141 H 310.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A771CB |
|---|---|
| RGB | rgb(167, 113, 203) |
| HSL | hsl(276, 46%, 62%) |
| HSV | hsv(276, 44%, 80%) |
| CMYK | cmyk(17.7%, 44.3%, 0%, 20.4%) |
| CIE-LAB | lab(56.42, 37.89, -38.61) |
| CIE-LCH | lch(56.42, 54.10, 314.46°) |
| OKLab | oklab(63.98% 0.092 -0.1073) |
| OKLCH | oklch(63.98% 0.141 310.6) |
| XYZ | xyz(32.6190, 24.3381, 59.4677) |
| Luminance | 0.2434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.89
Wisteria
#A87DC2
ΔE00 4.49
Soft Purple
#A66FB5
ΔE00 4.53
Amethyst
#9B5FC0
ΔE00 5.78
Mediumpurple
#9370DB
ΔE00 6.01
Light Urple
#B36FF6
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A771CB #95CB71
analogous
#7A71CB #A771CB #CB71C2
triadic
#A771CB #CBA771 #71CBA7
tetradic
#A771CB #CB7A71 #95CB71 #71C2CB
square
#A771CB #CB7A71 #95CB71 #71C2CB
split-complementary
#A771CB #C2CB71 #71CB7A
monochromatic
#6A348E #8B44BB #A771CB #C39EDB #DFCBEC
Accessibility & contrast
On white
3.58
#A771CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#A771CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A771CB
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A771CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A771CB | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D85CE
Deuteranopia (green-blind)
#6B88C9
Tritanopia (blue-blind)
#A37F94
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a771cb; /* rgb */ color: rgb(167, 113, 203); /* oklch */ color: oklch(64.0% 0.141 310.6);
Tailwind
colors: {
custom: {
50: '#c39bdb',
500: '#a771cb',
950: '#000000',
},
}SCSS
$custom: #a771cb; $custom-light: #c39bdb; $custom-dark: #000000;
JSON
{
"hex": "#a771cb",
"rgb": {
"r": 167,
"g": 113,
"b": 203
},
"hsl": {
"h": 276,
"s": 46.392,
"l": 61.961
},
"oklch": {
"l": 0.63982,
"c": 0.14134,
"h": 310.6
},
"luminance": 0.24338
}Semantic roles & 50–950 ramp
primary
#A771CB
secondary
#C9DCBB
accent
#BA2C65
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83