#A871CD#A871CD
#A871CD is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.2% C 0.144 H 310.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A871CD |
|---|---|
| RGB | rgb(168, 113, 205) |
| HSL | hsl(276, 48%, 62%) |
| HSV | hsv(276, 45%, 80%) |
| CMYK | cmyk(18%, 44.9%, 0%, 19.6%) |
| CIE-LAB | lab(56.63, 38.62, -39.42) |
| CIE-LCH | lch(56.63, 55.19, 314.41°) |
| OKLab | oklab(64.19% 0.0935 -0.1096) |
| OKLCH | oklch(64.19% 0.144 310.5) |
| XYZ | xyz(33.0710, 24.5434, 60.7410) |
| Luminance | 0.2454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.18
Wisteria
#A87DC2
ΔE00 4.69
Soft Purple
#A66FB5
ΔE00 4.84
Amethyst
#9B5FC0
ΔE00 5.90
Mediumpurple
#9370DB
ΔE00 5.91
Light Urple
#B36FF6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A871CD #96CD71
analogous
#7A71CD #A871CD #CD71C4
triadic
#A871CD #CDA871 #71CDA8
tetradic
#A871CD #CD7A71 #96CD71 #71C4CD
square
#A871CD #CD7A71 #96CD71 #71C4CD
split-complementary
#A871CD #C4CD71 #71CD7A
monochromatic
#6B3391 #8C44BD #A871CD #C49EDD #DFCCED
Accessibility & contrast
On white
3.55
#A871CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#A871CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A871CD
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A871CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A871CD | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D85D0
Deuteranopia (green-blind)
#6B89CB
Tritanopia (blue-blind)
#A47F95
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #a871cd; /* rgb */ color: rgb(168, 113, 205); /* oklch */ color: oklch(64.2% 0.144 310.5);
Tailwind
colors: {
custom: {
50: '#c39bdc',
500: '#a871cd',
950: '#000000',
},
}SCSS
$custom: #a871cd; $custom-light: #c39bdc; $custom-dark: #000000;
JSON
{
"hex": "#a871cd",
"rgb": {
"r": 168,
"g": 113,
"b": 205
},
"hsl": {
"h": 275.87,
"s": 47.917,
"l": 62.353
},
"oklch": {
"l": 0.64189,
"c": 0.14409,
"h": 310.5
},
"luminance": 0.24543
}Semantic roles & 50–950 ramp
primary
#A871CD
secondary
#CADEBC
accent
#BB2A65
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83