#A266DF#A266DF
#A266DF is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.8% C 0.181 H 304.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A266DF |
|---|---|
| RGB | rgb(162, 102, 223) |
| HSL | hsl(270, 65%, 64%) |
| HSV | hsv(270, 54%, 87%) |
| CMYK | cmyk(27.4%, 54.3%, 0%, 12.5%) |
| CIE-LAB | lab(54.57, 47.14, -52.90) |
| CIE-LCH | lch(54.57, 70.86, 311.71°) |
| OKLab | oklab(62.81% 0.1029 -0.149) |
| OKLCH | oklch(62.81% 0.181 304.6) |
| XYZ | xyz(32.9681, 22.5120, 72.4062) |
| Luminance | 0.2251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.86
Mediumpurple
#9370DB
ΔE00 4.04
Lightish Purple
#A552E6
ΔE00 4.59
Light Urple
#B36FF6
ΔE00 4.81
Amethyst
#9B5FC0
ΔE00 5.52
Mediumorchid
#BA55D3
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A266DF #A3DF66
analogous
#6666DF #A266DF #DE66DF
triadic
#A266DF #DFA266 #66DFA2
tetradic
#A266DF #DF6666 #A3DF66 #66DFDE
square
#A266DF #DF6666 #A3DF66 #66DFDE
split-complementary
#A266DF #DFDE66 #66DF66
monochromatic
#6523A8 #8333D4 #A266DF #C199EA #E0CBF4
Accessibility & contrast
On white
3.82
#A266DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#A266DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A266DF
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A266DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A266DF | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#4F83DC
Tritanopia (blue-blind)
#977D99
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a266df; /* rgb */ color: rgb(162, 102, 223); /* oklch */ color: oklch(62.8% 0.181 304.6);
Tailwind
colors: {
custom: {
50: '#c194e9',
500: '#a266df',
950: '#000000',
},
}SCSS
$custom: #a266df; $custom-light: #c194e9; $custom-dark: #000000;
JSON
{
"hex": "#a266df",
"rgb": {
"r": 162,
"g": 102,
"b": 223
},
"hsl": {
"h": 269.752,
"s": 65.405,
"l": 63.725
},
"oklch": {
"l": 0.62814,
"c": 0.18107,
"h": 304.6
},
"luminance": 0.22512
}Semantic roles & 50–950 ramp
primary
#A266DF
secondary
#D1E6BB
accent
#CD1873
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84