#A276F5#A276F5
#A276F5 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.6% C 0.184 H 297.1°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #A276F5 |
|---|---|
| RGB | rgb(162, 118, 245) |
| HSL | hsl(261, 86%, 71%) |
| HSV | hsv(261, 52%, 96%) |
| CMYK | cmyk(33.9%, 51.8%, 0%, 3.9%) |
| CIE-LAB | lab(59.19, 43.80, -57.81) |
| CIE-LCH | lch(59.19, 72.52, 307.15°) |
| OKLab | oklab(66.63% 0.0838 -0.1634) |
| OKLCH | oklch(66.63% 0.184 297.1) |
| XYZ | xyz(37.8561, 27.2303, 89.6300) |
| Luminance | 0.2723 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.61
Mediumpurple
#9370DB
ΔE00 4.61
Easter Purple
#C071FE
ΔE00 5.44
Light Purple
#BF77F6
ΔE00 5.50
Periwinkle (survey)
#8E82FE
ΔE00 5.82
Lighter Purple
#A55AF4
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A276F5 #C9F576
analogous
#7689F5 #A276F5 #E176F5
triadic
#A276F5 #F5A276 #76F5A2
tetradic
#A276F5 #F57689 #C9F576 #76F5E1
square
#A276F5 #F57689 #C9F576 #76F5E1
split-complementary
#A276F5 #F5E176 #89F576
monochromatic
#5810E0 #7B3DF1 #A276F5 #C9AFF9 #ECE2FD
Accessibility & contrast
On white
3.26
#A276F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#A276F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A276F5
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A276F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A276F5 | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#448FF9
Deuteranopia (green-blind)
#508DF2
Tritanopia (blue-blind)
#8F8FAA
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a276f5; /* rgb */ color: rgb(162, 118, 245); /* oklch */ color: oklch(66.6% 0.184 297.1);
Tailwind
colors: {
custom: {
50: '#c19ef9',
500: '#a276f5',
950: '#000000',
},
}SCSS
$custom: #a276f5; $custom-light: #c19ef9; $custom-dark: #000000;
JSON
{
"hex": "#a276f5",
"rgb": {
"r": 162,
"g": 118,
"b": 245
},
"hsl": {
"h": 260.787,
"s": 86.395,
"l": 71.176
},
"oklch": {
"l": 0.66631,
"c": 0.18363,
"h": 297.1
},
"luminance": 0.27231
}Semantic roles & 50–950 ramp
primary
#A276F5
secondary
#E9F4D3
accent
#E30395
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85