#A266E4#A266E4
#A266E4 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.1% C 0.187 H 303.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A266E4 |
|---|---|
| RGB | rgb(162, 102, 228) |
| HSL | hsl(269, 70%, 65%) |
| HSV | hsv(269, 55%, 89%) |
| CMYK | cmyk(28.9%, 55.3%, 0%, 10.6%) |
| CIE-LAB | lab(54.85, 48.33, -55.26) |
| CIE-LCH | lch(54.85, 73.41, 311.17°) |
| OKLab | oklab(63.12% 0.103 -0.1559) |
| OKLCH | oklch(63.12% 0.187 303.5) |
| XYZ | xyz(33.6521, 22.7856, 76.0089) |
| Luminance | 0.2279 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.33
Mediumpurple
#9370DB
ΔE00 4.04
Light Urple
#B36FF6
ΔE00 4.42
Lightish Purple
#A552E6
ΔE00 4.54
Amethyst
#9B5FC0
ΔE00 6.25
Mediumorchid
#BA55D3
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A266E4 #A8E466
analogous
#6669E4 #A266E4 #E166E4
triadic
#A266E4 #E4A266 #66E4A2
tetradic
#A266E4 #E46669 #A8E466 #66E4E1
square
#A266E4 #E46669 #A8E466 #66E4E1
split-complementary
#A266E4 #E4E166 #69E466
monochromatic
#641FB0 #8232DB #A266E4 #C29AED #E1CEF6
Accessibility & contrast
On white
3.78
#A266E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#A266E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A266E4
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A266E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A266E4 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3582E8
Deuteranopia (green-blind)
#4B83E1
Tritanopia (blue-blind)
#967E9B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a266e4; /* rgb */ color: rgb(162, 102, 228); /* oklch */ color: oklch(63.1% 0.187 303.5);
Tailwind
colors: {
custom: {
50: '#c194ed',
500: '#a266e4',
950: '#000000',
},
}SCSS
$custom: #a266e4; $custom-light: #c194ed; $custom-dark: #000000;
JSON
{
"hex": "#a266e4",
"rgb": {
"r": 162,
"g": 102,
"b": 228
},
"hsl": {
"h": 268.571,
"s": 70,
"l": 64.706
},
"oklch": {
"l": 0.63115,
"c": 0.1869,
"h": 303.5
},
"luminance": 0.22786
}Semantic roles & 50–950 ramp
primary
#A266E4
secondary
#D4E9BD
accent
#D21477
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84