#A771CD#A771CD
#A771CD is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.1% C 0.144 H 310.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A771CD |
|---|---|
| RGB | rgb(167, 113, 205) |
| HSL | hsl(275, 48%, 62%) |
| HSV | hsv(275, 45%, 80%) |
| CMYK | cmyk(18.5%, 44.9%, 0%, 19.6%) |
| CIE-LAB | lab(56.52, 38.34, -39.60) |
| CIE-LCH | lch(56.52, 55.11, 314.07°) |
| OKLab | oklab(64.08% 0.0923 -0.1102) |
| OKLCH | oklch(64.08% 0.144 310) |
| XYZ | xyz(32.8589, 24.4340, 60.7310) |
| Luminance | 0.2443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.03
Wisteria
#A87DC2
ΔE00 4.74
Soft Purple
#A66FB5
ΔE00 4.92
Mediumpurple
#9370DB
ΔE00 5.71
Amethyst
#9B5FC0
ΔE00 5.83
Light Urple
#B36FF6
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A771CD #97CD71
analogous
#7971CD #A771CD #CD71C5
triadic
#A771CD #CDA771 #71CDA7
tetradic
#A771CD #CD7971 #97CD71 #71C5CD
square
#A771CD #CD7971 #97CD71 #71C5CD
split-complementary
#A771CD #C5CD71 #71CD79
monochromatic
#6A3391 #8B44BD #A771CD #C39EDD #DFCCED
Accessibility & contrast
On white
3.57
#A771CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#A771CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A771CD
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A771CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A771CD | 1.00 | 3.57 | 5.89 | 5.89 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#6A89CB
Tritanopia (blue-blind)
#A27F95
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a771cd; /* rgb */ color: rgb(167, 113, 205); /* oklch */ color: oklch(64.1% 0.144 310.0);
Tailwind
colors: {
custom: {
50: '#c39bdc',
500: '#a771cd',
950: '#000000',
},
}SCSS
$custom: #a771cd; $custom-light: #c39bdc; $custom-dark: #000000;
JSON
{
"hex": "#a771cd",
"rgb": {
"r": 167,
"g": 113,
"b": 205
},
"hsl": {
"h": 275.217,
"s": 47.917,
"l": 62.353
},
"oklch": {
"l": 0.64084,
"c": 0.14372,
"h": 310
},
"luminance": 0.24434
}Semantic roles & 50–950 ramp
primary
#A771CD
secondary
#CADEBC
accent
#BB2A66
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83