#A276DC#A276DC
#A276DC is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.2% C 0.152 H 302.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A276DC |
|---|---|
| RGB | rgb(162, 118, 220) |
| HSL | hsl(266, 59%, 66%) |
| HSV | hsv(266, 46%, 86%) |
| CMYK | cmyk(26.4%, 46.4%, 0%, 13.7%) |
| CIE-LAB | lab(57.85, 37.63, -46.00) |
| CIE-LCH | lch(57.85, 59.43, 309.29°) |
| OKLab | oklab(65.2% 0.0814 -0.1289) |
| OKLCH | oklch(65.2% 0.152 302.3) |
| XYZ | xyz(34.2941, 25.8055, 70.8705) |
| Luminance | 0.2581 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.50
Light Urple
#B36FF6
ΔE00 4.83
Deep Lilac
#966EBD
ΔE00 5.77
Light Purple
#BF77F6
ΔE00 5.89
Wisteria
#A87DC2
ΔE00 6.54
Easter Purple
#C071FE
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A276DC #B0DC76
analogous
#767DDC #A276DC #D576DC
triadic
#A276DC #DCA276 #76DCA2
tetradic
#A276DC #DC767D #B0DC76 #76DCD5
square
#A276DC #DC767D #B0DC76 #76DCD5
split-complementary
#A276DC #DCD576 #7DDC76
monochromatic
#632CAC #8145D0 #A276DC #C3A7E8 #E4D7F5
Accessibility & contrast
On white
3.41
#A276DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#A276DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A276DC
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A276DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A276DC | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598AE0
Deuteranopia (green-blind)
#638BD9
Tritanopia (blue-blind)
#98889F
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a276dc; /* rgb */ color: rgb(162, 118, 220); /* oklch */ color: oklch(65.2% 0.152 302.3);
Tailwind
colors: {
custom: {
50: '#c09ee7',
500: '#a276dc',
950: '#000000',
},
}SCSS
$custom: #a276dc; $custom-light: #c09ee7; $custom-dark: #000000;
JSON
{
"hex": "#a276dc",
"rgb": {
"r": 162,
"g": 118,
"b": 220
},
"hsl": {
"h": 265.882,
"s": 59.302,
"l": 66.275
},
"oklch": {
"l": 0.65203,
"c": 0.15245,
"h": 302.3
},
"luminance": 0.25806
}Semantic roles & 50–950 ramp
primary
#A276DC
secondary
#D9E8C6
accent
#C71F7E
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84