#A276F8#A276F8
#A276F8 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.8% C 0.187 H 296.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A276F8 |
|---|---|
| RGB | rgb(162, 118, 248) |
| HSL | hsl(260, 90%, 72%) |
| HSV | hsv(260, 52%, 97%) |
| CMYK | cmyk(34.7%, 52.4%, 0%, 2.7%) |
| CIE-LAB | lab(59.36, 44.55, -59.19) |
| CIE-LCH | lch(59.36, 74.09, 306.97°) |
| OKLab | oklab(66.81% 0.0839 -0.1675) |
| OKLCH | oklch(66.81% 0.187 296.6) |
| XYZ | xyz(38.3177, 27.4150, 92.0616) |
| Luminance | 0.2742 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.71
Mediumpurple
#9370DB
ΔE00 4.94
Easter Purple
#C071FE
ΔE00 5.46
Light Purple
#BF77F6
ΔE00 5.62
Periwinkle (survey)
#8E82FE
ΔE00 5.64
Lighter Purple
#A55AF4
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A276F8 #CCF876
analogous
#768BF8 #A276F8 #E376F8
triadic
#A276F8 #F8A276 #76F8A2
tetradic
#A276F8 #F8768B #CCF876 #76F8E3
square
#A276F8 #F8768B #CCF876 #76F8E3
split-complementary
#A276F8 #F8E376 #8BF876
monochromatic
#560CE8 #7A3CF5 #A276F8 #CAB0FB #EBE2FE
Accessibility & contrast
On white
3.24
#A276F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.48
#A276F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A276F8
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A276F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A276F8 | 1.00 | 3.24 | 6.48 | 6.48 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4190FC
Deuteranopia (green-blind)
#4D8DF5
Tritanopia (blue-blind)
#8E90AC
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a276f8; /* rgb */ color: rgb(162, 118, 248); /* oklch */ color: oklch(66.8% 0.187 296.6);
Tailwind
colors: {
custom: {
50: '#c19efb',
500: '#a276f8',
950: '#000000',
},
}SCSS
$custom: #a276f8; $custom-light: #c19efb; $custom-dark: #000000;
JSON
{
"hex": "#a276f8",
"rgb": {
"r": 162,
"g": 118,
"b": 248
},
"hsl": {
"h": 260.308,
"s": 90.278,
"l": 71.765
},
"oklch": {
"l": 0.66811,
"c": 0.18733,
"h": 296.6
},
"luminance": 0.27416
}Semantic roles & 50–950 ramp
primary
#A276F8
secondary
#EAF5D4
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85