#A266ED#A266ED
#A266ED is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.7% C 0.197 H 301.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A266ED |
|---|---|
| RGB | rgb(162, 102, 237) |
| HSL | hsl(267, 79%, 66%) |
| HSV | hsv(267, 57%, 93%) |
| CMYK | cmyk(31.6%, 57%, 0%, 7.1%) |
| CIE-LAB | lab(55.38, 50.49, -59.46) |
| CIE-LCH | lch(55.38, 78.00, 310.34°) |
| OKLab | oklab(63.67% 0.1032 -0.1682) |
| OKLCH | oklch(63.67% 0.197 301.5) |
| XYZ | xyz(34.9342, 23.2984, 82.7609) |
| Luminance | 0.2330 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.74
Light Urple
#B36FF6
ΔE00 3.98
Mediumpurple
#9370DB
ΔE00 4.39
Lightish Purple
#A552E6
ΔE00 4.78
Easter Purple
#C071FE
ΔE00 6.27
Bright Lavender
#C760FF
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A266ED #B1ED66
analogous
#666EED #A266ED #E666ED
triadic
#A266ED #EDA266 #66EDA2
tetradic
#A266ED #ED666E #B1ED66 #66EDE6
square
#A266ED #ED666E #B1ED66 #66EDE6
split-complementary
#A266ED #EDE666 #6EED66
monochromatic
#6317C2 #812FE7 #A266ED #C39DF3 #E5D4FA
Accessibility & contrast
On white
3.71
#A266ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#A266ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A266ED
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A266ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A266ED | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2884F1
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#9381A0
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a266ed; /* rgb */ color: rgb(162, 102, 237); /* oklch */ color: oklch(63.7% 0.197 301.5);
Tailwind
colors: {
custom: {
50: '#c294f3',
500: '#a266ed',
950: '#000000',
},
}SCSS
$custom: #a266ed; $custom-light: #c294f3; $custom-dark: #000000;
JSON
{
"hex": "#a266ed",
"rgb": {
"r": 162,
"g": 102,
"b": 237
},
"hsl": {
"h": 266.667,
"s": 78.947,
"l": 66.471
},
"oklch": {
"l": 0.63673,
"c": 0.19736,
"h": 301.5
},
"luminance": 0.23299
}Semantic roles & 50–950 ramp
primary
#A266ED
secondary
#DAEDC2
accent
#DB0A7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85