#A266E5#A266E5
#A266E5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.2% C 0.188 H 303.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #A266E5 |
|---|---|
| RGB | rgb(162, 102, 229) |
| HSL | hsl(268, 71%, 65%) |
| HSV | hsv(268, 55%, 90%) |
| CMYK | cmyk(29.3%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(54.91, 48.57, -55.73) |
| CIE-LCH | lch(54.91, 73.92, 311.07°) |
| OKLab | oklab(63.18% 0.1031 -0.1573) |
| OKLCH | oklch(63.18% 0.188 303.2) |
| XYZ | xyz(33.7913, 22.8413, 76.7421) |
| Luminance | 0.2284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.24
Mediumpurple
#9370DB
ΔE00 4.06
Light Urple
#B36FF6
ΔE00 4.35
Lightish Purple
#A552E6
ΔE00 4.54
Amethyst
#9B5FC0
ΔE00 6.39
Easter Purple
#C071FE
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A266E5 #A9E566
analogous
#666AE5 #A266E5 #E166E5
triadic
#A266E5 #E5A266 #66E5A2
tetradic
#A266E5 #E5666A #A9E566 #66E5E1
square
#A266E5 #E5666A #A9E566 #66E5E1
split-complementary
#A266E5 #E5E166 #6AE566
monochromatic
#641EB2 #8232DC #A266E5 #C29AEE #E2CFF7
Accessibility & contrast
On white
3.77
#A266E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#A266E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A266E5
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A266E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A266E5 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3482E9
Deuteranopia (green-blind)
#4A83E2
Tritanopia (blue-blind)
#967F9C
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a266e5; /* rgb */ color: rgb(162, 102, 229); /* oklch */ color: oklch(63.2% 0.188 303.2);
Tailwind
colors: {
custom: {
50: '#c194ee',
500: '#a266e5',
950: '#000000',
},
}SCSS
$custom: #a266e5; $custom-light: #c194ee; $custom-dark: #000000;
JSON
{
"hex": "#a266e5",
"rgb": {
"r": 162,
"g": 102,
"b": 229
},
"hsl": {
"h": 268.346,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.63176,
"c": 0.18807,
"h": 303.2
},
"luminance": 0.22841
}Semantic roles & 50–950 ramp
primary
#A266E5
secondary
#D5E9BE
accent
#D31378
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84