#A276CA#A276CA
#A276CA is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.3% C 0.130 H 307.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A276CA |
|---|---|
| RGB | rgb(162, 118, 202) |
| HSL | hsl(271, 44%, 63%) |
| HSV | hsv(271, 42%, 79%) |
| CMYK | cmyk(19.8%, 41.6%, 0%, 20.8%) |
| CIE-LAB | lab(56.98, 33.40, -37.21) |
| CIE-LCH | lch(56.98, 50.00, 311.91°) |
| OKLab | oklab(64.26% 0.0786 -0.1034) |
| OKLCH | oklch(64.26% 0.13 307.2) |
| XYZ | xyz(32.0373, 24.9028, 58.9846) |
| Luminance | 0.2490 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.58
Wisteria
#A87DC2
ΔE00 3.61
Soft Purple
#A66FB5
ΔE00 5.02
Mediumpurple
#9370DB
ΔE00 5.61
Amethyst
#9B5FC0
ΔE00 6.85
Light Urple
#B36FF6
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A276CA #9ECA76
analogous
#7876CA #A276CA #CA76C8
triadic
#A276CA #CAA276 #76CAA2
tetradic
#A276CA #CA7876 #9ECA76 #76C8CA
square
#A276CA #CA7876 #9ECA76 #76C8CA
split-complementary
#A276CA #C8CA76 #76CA78
monochromatic
#65378E #844AB9 #A276CA #C0A2DB #DECEEC
Accessibility & contrast
On white
3.51
#A276CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#A276CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A276CA
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A276CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A276CA | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#9C8396
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a276ca; /* rgb */ color: rgb(162, 118, 202); /* oklch */ color: oklch(64.3% 0.130 307.2);
Tailwind
colors: {
custom: {
50: '#bf9eda',
500: '#a276ca',
950: '#000000',
},
}SCSS
$custom: #a276ca; $custom-light: #bf9eda; $custom-dark: #000000;
JSON
{
"hex": "#a276ca",
"rgb": {
"r": 162,
"g": 118,
"b": 202
},
"hsl": {
"h": 271.429,
"s": 44.211,
"l": 62.745
},
"oklch": {
"l": 0.64264,
"c": 0.12986,
"h": 307.2
},
"luminance": 0.24903
}Semantic roles & 50–950 ramp
primary
#A276CA
secondary
#CDDDBF
accent
#B72E6F
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83