#A266EA#A266EA
#A266EA is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.5% C 0.194 H 302.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A266EA |
|---|---|
| RGB | rgb(162, 102, 234) |
| HSL | hsl(267, 76%, 66%) |
| HSV | hsv(267, 56%, 92%) |
| CMYK | cmyk(30.8%, 56.4%, 0%, 8.2%) |
| CIE-LAB | lab(55.20, 49.77, -58.07) |
| CIE-LCH | lch(55.20, 76.47, 310.60°) |
| OKLab | oklab(63.49% 0.1032 -0.1641) |
| OKLCH | oklch(63.49% 0.194 302.1) |
| XYZ | xyz(34.4995, 23.1246, 80.4719) |
| Luminance | 0.2313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.88
Light Urple
#B36FF6
ΔE00 4.08
Mediumpurple
#9370DB
ΔE00 4.23
Lightish Purple
#A552E6
ΔE00 4.66
Easter Purple
#C071FE
ΔE00 6.38
Bright Lavender
#C760FF
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A266EA #AEEA66
analogous
#666CEA #A266EA #E466EA
triadic
#A266EA #EAA266 #66EAA2
tetradic
#A266EA #EA666C #AEEA66 #66EAE4
square
#A266EA #EA666C #AEEA66 #66EAE4
split-complementary
#A266EA #EAE466 #6CEA66
monochromatic
#631ABC #8130E3 #A266EA #C39CF1 #E3D2F9
Accessibility & contrast
On white
3.73
#A266EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#A266EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A266EA
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A266EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A266EA | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D83EE
Deuteranopia (green-blind)
#4584E7
Tritanopia (blue-blind)
#94809E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a266ea; /* rgb */ color: rgb(162, 102, 234); /* oklch */ color: oklch(63.5% 0.194 302.1);
Tailwind
colors: {
custom: {
50: '#c194f1',
500: '#a266ea',
950: '#000000',
},
}SCSS
$custom: #a266ea; $custom-light: #c194f1; $custom-dark: #000000;
JSON
{
"hex": "#a266ea",
"rgb": {
"r": 162,
"g": 102,
"b": 234
},
"hsl": {
"h": 267.273,
"s": 75.862,
"l": 65.882
},
"oklch": {
"l": 0.63485,
"c": 0.19388,
"h": 302.1
},
"luminance": 0.23125
}Semantic roles & 50–950 ramp
primary
#A266EA
secondary
#D8ECC0
accent
#D80D7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85