#A276E8#A276E8
#A276E8 is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.9% C 0.167 H 299.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A276E8 |
|---|---|
| RGB | rgb(162, 118, 232) |
| HSL | hsl(263, 71%, 69%) |
| HSV | hsv(263, 49%, 91%) |
| CMYK | cmyk(30.2%, 49.1%, 0%, 9%) |
| CIE-LAB | lab(58.48, 40.55, -51.72) |
| CIE-LCH | lch(58.48, 65.72, 308.10°) |
| OKLab | oklab(65.87% 0.0828 -0.1456) |
| OKLCH | oklch(65.87% 0.167 299.6) |
| XYZ | xyz(35.9408, 26.4642, 79.5429) |
| Luminance | 0.2646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.52
Light Urple
#B36FF6
ΔE00 3.77
Light Purple
#BF77F6
ΔE00 5.37
Easter Purple
#C071FE
ΔE00 5.75
Lighter Purple
#A55AF4
ΔE00 6.90
Periwinkle (survey)
#8E82FE
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A276E8 #BCE876
analogous
#7683E8 #A276E8 #DB76E8
triadic
#A276E8 #E8A276 #76E8A2
tetradic
#A276E8 #E87683 #BCE876 #76E8DB
square
#A276E8 #E87683 #BCE876 #76E8DB
split-complementary
#A276E8 #E8DB76 #83E876
monochromatic
#5F21C3 #7E42DF #A276E8 #C6AAF1 #E9DFFA
Accessibility & contrast
On white
3.34
#A276E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#A276E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A276E8
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A276E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A276E8 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508CEC
Deuteranopia (green-blind)
#5B8CE5
Tritanopia (blue-blind)
#948BA4
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a276e8; /* rgb */ color: rgb(162, 118, 232); /* oklch */ color: oklch(65.9% 0.167 299.6);
Tailwind
colors: {
custom: {
50: '#c09ef0',
500: '#a276e8',
950: '#000000',
},
}SCSS
$custom: #a276e8; $custom-light: #c09ef0; $custom-dark: #000000;
JSON
{
"hex": "#a276e8",
"rgb": {
"r": 162,
"g": 118,
"b": 232
},
"hsl": {
"h": 263.158,
"s": 71.25,
"l": 68.627
},
"oklch": {
"l": 0.65871,
"c": 0.16747,
"h": 299.6
},
"luminance": 0.26464
}Semantic roles & 50–950 ramp
primary
#A276E8
secondary
#E1EECC
accent
#D31289
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84