#A266EF#A266EF
#A266EF is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.8% C 0.200 H 301.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A266EF |
|---|---|
| RGB | rgb(162, 102, 239) |
| HSL | hsl(266, 81%, 67%) |
| HSV | hsv(266, 57%, 94%) |
| CMYK | cmyk(32.2%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(55.50, 50.98, -60.38) |
| CIE-LCH | lch(55.50, 79.02, 310.17°) |
| OKLab | oklab(63.8% 0.1032 -0.1709) |
| OKLCH | oklch(63.8% 0.2 301.1) |
| XYZ | xyz(35.2280, 23.4160, 84.3084) |
| Luminance | 0.2342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.69
Light Urple
#B36FF6
ΔE00 3.94
Mediumpurple
#9370DB
ΔE00 4.52
Lightish Purple
#A552E6
ΔE00 4.89
Easter Purple
#C071FE
ΔE00 6.22
Bright Lavender
#C760FF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A266EF #B3EF66
analogous
#666FEF #A266EF #E666EF
triadic
#A266EF #EFA266 #66EFA2
tetradic
#A266EF #EF666F #B3EF66 #66EFE6
square
#A266EF #EF666F #B3EF66 #66EFE6
split-complementary
#A266EF #EFE666 #6FEF66
monochromatic
#6215C6 #802FE9 #A266EF #C49DF5 #E5D5FB
Accessibility & contrast
On white
3.70
#A266EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#A266EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A266EF
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A266EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A266EF | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2484F3
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#9282A1
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a266ef; /* rgb */ color: rgb(162, 102, 239); /* oklch */ color: oklch(63.8% 0.200 301.1);
Tailwind
colors: {
custom: {
50: '#c294f5',
500: '#a266ef',
950: '#000000',
},
}SCSS
$custom: #a266ef; $custom-light: #c294f5; $custom-dark: #000000;
JSON
{
"hex": "#a266ef",
"rgb": {
"r": 162,
"g": 102,
"b": 239
},
"hsl": {
"h": 266.277,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.63799,
"c": 0.19969,
"h": 301.1
},
"luminance": 0.23416
}Semantic roles & 50–950 ramp
primary
#A266EF
secondary
#DBEEC2
accent
#DD0880
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85