#A771CA#A771CA
#A771CA is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.9% C 0.140 H 310.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A771CA |
|---|---|
| RGB | rgb(167, 113, 202) |
| HSL | hsl(276, 46%, 62%) |
| HSV | hsv(276, 44%, 79%) |
| CMYK | cmyk(17.3%, 44.1%, 0%, 20.8%) |
| CIE-LAB | lab(56.38, 37.67, -38.12) |
| CIE-LCH | lch(56.38, 53.59, 314.66°) |
| OKLab | oklab(63.93% 0.0918 -0.1059) |
| OKLCH | oklch(63.93% 0.14 310.9) |
| XYZ | xyz(32.5002, 24.2906, 58.8421) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.83
Soft Purple
#A66FB5
ΔE00 4.33
Wisteria
#A87DC2
ΔE00 4.38
Amethyst
#9B5FC0
ΔE00 5.77
Mediumpurple
#9370DB
ΔE00 6.16
Light Urple
#B36FF6
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A771CA #94CA71
analogous
#7B71CA #A771CA #CA71C1
triadic
#A771CA #CAA771 #71CAA7
tetradic
#A771CA #CA7B71 #94CA71 #71C1CA
square
#A771CA #CA7B71 #94CA71 #71C1CA
split-complementary
#A771CA #C1CA71 #71CA7B
monochromatic
#6A348C #8B45B9 #A771CA #C39EDB #DECAEB
Accessibility & contrast
On white
3.58
#A771CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#A771CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A771CA
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A771CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A771CA | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E85CD
Deuteranopia (green-blind)
#6C88C8
Tritanopia (blue-blind)
#A37F94
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a771ca; /* rgb */ color: rgb(167, 113, 202); /* oklch */ color: oklch(63.9% 0.140 310.9);
Tailwind
colors: {
custom: {
50: '#c39bda',
500: '#a771ca',
950: '#000000',
},
}SCSS
$custom: #a771ca; $custom-light: #c39bda; $custom-dark: #000000;
JSON
{
"hex": "#a771ca",
"rgb": {
"r": 167,
"g": 113,
"b": 202
},
"hsl": {
"h": 276.404,
"s": 45.641,
"l": 61.765
},
"oklch": {
"l": 0.63931,
"c": 0.14014,
"h": 310.9
},
"luminance": 0.2429
}Semantic roles & 50–950 ramp
primary
#A771CA
secondary
#C8DCBB
accent
#B92D64
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83