#A877F3#A877F3
#A877F3 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.181 H 299.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A877F3 |
|---|---|
| RGB | rgb(168, 119, 243) |
| HSL | hsl(264, 84%, 71%) |
| HSV | hsv(264, 51%, 95%) |
| CMYK | cmyk(30.9%, 51%, 0%, 4.7%) |
| CIE-LAB | lab(59.88, 44.22, -55.56) |
| CIE-LCH | lch(59.88, 71.01, 308.52°) |
| OKLab | oklab(67.25% 0.0897 -0.1567) |
| OKLCH | oklch(67.25% 0.181 299.8) |
| XYZ | xyz(38.9191, 27.9893, 88.1287) |
| Luminance | 0.2799 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.77
Light Purple
#BF77F6
ΔE00 4.28
Easter Purple
#C071FE
ΔE00 4.44
Mediumpurple
#9370DB
ΔE00 5.11
Periwinkle (survey)
#8E82FE
ΔE00 6.75
Bright Lavender
#C760FF
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A877F3 #C2F377
analogous
#7784F3 #A877F3 #E677F3
triadic
#A877F3 #F3A877 #77F3A8
tetradic
#A877F3 #F37784 #C2F377 #77F3E6
square
#A877F3 #F37784 #C2F377 #77F3E6
split-complementary
#A877F3 #F3E677 #84F377
monochromatic
#6313DC #843FEE #A877F3 #CCAFF8 #EDE3FD
Accessibility & contrast
On white
3.18
#A877F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#A877F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A877F3
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A877F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A877F3 | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B90F7
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#998FAA
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a877f3; /* rgb */ color: rgb(168, 119, 243); /* oklch */ color: oklch(67.2% 0.181 299.8);
Tailwind
colors: {
custom: {
50: '#c59ff8',
500: '#a877f3',
950: '#000000',
},
}SCSS
$custom: #a877f3; $custom-light: #c59ff8; $custom-dark: #000000;
JSON
{
"hex": "#a877f3",
"rgb": {
"r": 168,
"g": 119,
"b": 243
},
"hsl": {
"h": 263.71,
"s": 83.784,
"l": 70.98
},
"oklch": {
"l": 0.67246,
"c": 0.18055,
"h": 299.8
},
"luminance": 0.2799
}Semantic roles & 50–950 ramp
primary
#A877F3
secondary
#E6F3D2
accent
#E0058A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85