#A266EB#A266EB
#A266EB is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.5% C 0.195 H 301.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A266EB |
|---|---|
| RGB | rgb(162, 102, 235) |
| HSL | hsl(267, 77%, 66%) |
| HSV | hsv(267, 57%, 92%) |
| CMYK | cmyk(31.1%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(55.26, 50.01, -58.53) |
| CIE-LCH | lch(55.26, 76.98, 310.51°) |
| OKLab | oklab(63.55% 0.1032 -0.1655) |
| OKLCH | oklch(63.55% 0.195 301.9) |
| XYZ | xyz(34.6436, 23.1822, 81.2306) |
| Luminance | 0.2318 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.83
Light Urple
#B36FF6
ΔE00 4.05
Mediumpurple
#9370DB
ΔE00 4.28
Lightish Purple
#A552E6
ΔE00 4.69
Easter Purple
#C071FE
ΔE00 6.34
Bright Lavender
#C760FF
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A266EB #AFEB66
analogous
#666CEB #A266EB #E566EB
triadic
#A266EB #EBA266 #66EBA2
tetradic
#A266EB #EB666C #AFEB66 #66EBE5
square
#A266EB #EB666C #AFEB66 #66EBE5
split-complementary
#A266EB #EBE566 #6CEB66
monochromatic
#6319BE #8130E4 #A266EB #C39CF2 #E4D2F9
Accessibility & contrast
On white
3.73
#A266EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#A266EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A266EB
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A266EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A266EB | 1.00 | 3.73 | 5.64 | 5.64 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C83EF
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#94819F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a266eb; /* rgb */ color: rgb(162, 102, 235); /* oklch */ color: oklch(63.5% 0.195 301.9);
Tailwind
colors: {
custom: {
50: '#c194f2',
500: '#a266eb',
950: '#000000',
},
}SCSS
$custom: #a266eb; $custom-light: #c194f2; $custom-dark: #000000;
JSON
{
"hex": "#a266eb",
"rgb": {
"r": 162,
"g": 102,
"b": 235
},
"hsl": {
"h": 267.068,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.63547,
"c": 0.19505,
"h": 301.9
},
"luminance": 0.23182
}Semantic roles & 50–950 ramp
primary
#A266EB
secondary
#D9ECC1
accent
#D90C7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85