#A266F2#A266F2
#A266F2 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.0% C 0.203 H 300.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A266F2 |
|---|---|
| RGB | rgb(162, 102, 242) |
| HSL | hsl(266, 84%, 67%) |
| HSV | hsv(266, 58%, 95%) |
| CMYK | cmyk(33.1%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(55.68, 51.71, -61.76) |
| CIE-LCH | lch(55.68, 80.55, 309.94°) |
| OKLab | oklab(63.99% 0.1032 -0.175) |
| OKLCH | oklch(63.99% 0.203 300.5) |
| XYZ | xyz(35.6748, 23.5947, 86.6619) |
| Luminance | 0.2359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.68
Light Urple
#B36FF6
ΔE00 3.91
Mediumpurple
#9370DB
ΔE00 4.74
Lightish Purple
#A552E6
ΔE00 5.07
Easter Purple
#C071FE
ΔE00 6.15
Bright Lavender
#C760FF
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A266F2 #B6F266
analogous
#6670F2 #A266F2 #E866F2
triadic
#A266F2 #F2A266 #66F2A2
tetradic
#A266F2 #F26670 #B6F266 #66F2E8
square
#A266F2 #F26670 #B6F266 #66F2E8
split-complementary
#A266F2 #F2E866 #70F266
monochromatic
#6111CC #802EED #A266F2 #C49EF7 #E7D7FC
Accessibility & contrast
On white
3.67
#A266F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#A266F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A266F2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A266F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A266F2 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E85F7
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#9183A2
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a266f2; /* rgb */ color: rgb(162, 102, 242); /* oklch */ color: oklch(64.0% 0.203 300.5);
Tailwind
colors: {
custom: {
50: '#c294f7',
500: '#a266f2',
950: '#000000',
},
}SCSS
$custom: #a266f2; $custom-light: #c294f7; $custom-dark: #000000;
JSON
{
"hex": "#a266f2",
"rgb": {
"r": 162,
"g": 102,
"b": 242
},
"hsl": {
"h": 265.714,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.6399,
"c": 0.20315,
"h": 300.5
},
"luminance": 0.23595
}Semantic roles & 50–950 ramp
primary
#A266F2
secondary
#DDF0C4
accent
#E10582
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85