#A276F6#A276F6
#A276F6 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.185 H 297.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A276F6 |
|---|---|
| RGB | rgb(162, 118, 246) |
| HSL | hsl(261, 88%, 71%) |
| HSV | hsv(261, 52%, 96%) |
| CMYK | cmyk(34.1%, 52%, 0%, 3.5%) |
| CIE-LAB | lab(59.24, 44.05, -58.27) |
| CIE-LCH | lch(59.24, 73.05, 307.09°) |
| OKLab | oklab(66.69% 0.0838 -0.1648) |
| OKLCH | oklch(66.69% 0.185 297) |
| XYZ | xyz(38.0091, 27.2915, 90.4362) |
| Luminance | 0.2729 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.63
Mediumpurple
#9370DB
ΔE00 4.72
Easter Purple
#C071FE
ΔE00 5.44
Light Purple
#BF77F6
ΔE00 5.54
Periwinkle (survey)
#8E82FE
ΔE00 5.76
Lighter Purple
#A55AF4
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A276F6 #CAF676
analogous
#768AF6 #A276F6 #E276F6
triadic
#A276F6 #F6A276 #76F6A2
tetradic
#A276F6 #F6768A #CAF676 #76F6E2
square
#A276F6 #F6768A #CAF676 #76F6E2
split-complementary
#A276F6 #F6E276 #8AF676
monochromatic
#580FE3 #7B3DF2 #A276F6 #C9AFFA #ECE2FD
Accessibility & contrast
On white
3.25
#A276F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#A276F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A276F6
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A276F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A276F6 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#4F8DF3
Tritanopia (blue-blind)
#8F8FAB
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a276f6; /* rgb */ color: rgb(162, 118, 246); /* oklch */ color: oklch(66.7% 0.185 297.0);
Tailwind
colors: {
custom: {
50: '#c19efa',
500: '#a276f6',
950: '#000000',
},
}SCSS
$custom: #a276f6; $custom-light: #c19efa; $custom-dark: #000000;
JSON
{
"hex": "#a276f6",
"rgb": {
"r": 162,
"g": 118,
"b": 246
},
"hsl": {
"h": 260.625,
"s": 87.671,
"l": 71.373
},
"oklch": {
"l": 0.66691,
"c": 0.18487,
"h": 297
},
"luminance": 0.27292
}Semantic roles & 50–950 ramp
primary
#A276F6
secondary
#E9F5D3
accent
#E40196
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85