#A276EF#A276EF
#A276EF is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.3% C 0.176 H 298.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A276EF |
|---|---|
| RGB | rgb(162, 118, 239) |
| HSL | hsl(262, 79%, 70%) |
| HSV | hsv(262, 51%, 94%) |
| CMYK | cmyk(32.2%, 50.6%, 0%, 6.3%) |
| CIE-LAB | lab(58.85, 42.29, -55.01) |
| CIE-LCH | lch(58.85, 69.39, 307.55°) |
| OKLab | oklab(66.28% 0.0834 -0.1552) |
| OKLCH | oklch(66.28% 0.176 298.2) |
| XYZ | xyz(36.9549, 26.8699, 84.8841) |
| Luminance | 0.2687 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.55
Mediumpurple
#9370DB
ΔE00 4.03
Light Purple
#BF77F6
ΔE00 5.36
Easter Purple
#C071FE
ΔE00 5.50
Periwinkle (survey)
#8E82FE
ΔE00 6.27
Lighter Purple
#A55AF4
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A276EF #C3EF76
analogous
#7687EF #A276EF #DE76EF
triadic
#A276EF #EFA276 #76EFA2
tetradic
#A276EF #EF7687 #C3EF76 #76EFDE
square
#A276EF #EF7687 #C3EF76 #76EFDE
split-complementary
#A276EF #EFDE76 #87EF76
monochromatic
#5C19D2 #7D3FE9 #A276EF #C7ADF5 #ECE4FC
Accessibility & contrast
On white
3.29
#A276EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#A276EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A276EF
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A276EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A276EF | 1.00 | 3.29 | 6.37 | 6.37 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#928DA8
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a276ef; /* rgb */ color: rgb(162, 118, 239); /* oklch */ color: oklch(66.3% 0.176 298.2);
Tailwind
colors: {
custom: {
50: '#c19ef5',
500: '#a276ef',
950: '#000000',
},
}SCSS
$custom: #a276ef; $custom-light: #c19ef5; $custom-dark: #000000;
JSON
{
"hex": "#a276ef",
"rgb": {
"r": 162,
"g": 118,
"b": 239
},
"hsl": {
"h": 261.818,
"s": 79.085,
"l": 70
},
"oklch": {
"l": 0.66276,
"c": 0.1762,
"h": 298.2
},
"luminance": 0.2687
}Semantic roles & 50–950 ramp
primary
#A276EF
secondary
#E5F1CF
accent
#DB0A8F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85