#A266EC#A266EC
#A266EC is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.6% C 0.196 H 301.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A266EC |
|---|---|
| RGB | rgb(162, 102, 236) |
| HSL | hsl(267, 78%, 66%) |
| HSV | hsv(267, 57%, 93%) |
| CMYK | cmyk(31.4%, 56.8%, 0%, 7.5%) |
| CIE-LAB | lab(55.32, 50.25, -58.99) |
| CIE-LCH | lch(55.32, 77.49, 310.42°) |
| OKLab | oklab(63.61% 0.1032 -0.1669) |
| OKLCH | oklch(63.61% 0.196 301.7) |
| XYZ | xyz(34.7885, 23.2402, 81.9936) |
| Luminance | 0.2324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.78
Light Urple
#B36FF6
ΔE00 4.01
Mediumpurple
#9370DB
ΔE00 4.34
Lightish Purple
#A552E6
ΔE00 4.74
Easter Purple
#C071FE
ΔE00 6.31
Bright Lavender
#C760FF
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A266EC #B0EC66
analogous
#666DEC #A266EC #E566EC
triadic
#A266EC #ECA266 #66ECA2
tetradic
#A266EC #EC666D #B0EC66 #66ECE5
square
#A266EC #EC666D #B0EC66 #66ECE5
split-complementary
#A266EC #ECE566 #6DEC66
monochromatic
#6318C0 #8130E5 #A266EC #C39CF3 #E4D3FA
Accessibility & contrast
On white
3.72
#A266EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#A266EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A266EC
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A266EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A266EC | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A84F0
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#93819F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a266ec; /* rgb */ color: rgb(162, 102, 236); /* oklch */ color: oklch(63.6% 0.196 301.7);
Tailwind
colors: {
custom: {
50: '#c194f3',
500: '#a266ec',
950: '#000000',
},
}SCSS
$custom: #a266ec; $custom-light: #c194f3; $custom-dark: #000000;
JSON
{
"hex": "#a266ec",
"rgb": {
"r": 162,
"g": 102,
"b": 236
},
"hsl": {
"h": 266.866,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.6361,
"c": 0.19621,
"h": 301.7
},
"luminance": 0.2324
}Semantic roles & 50–950 ramp
primary
#A266EC
secondary
#D9EDC1
accent
#DA0B7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85