#A266FB#A266FB
#A266FB is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.6% C 0.214 H 298.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A266FB |
|---|---|
| RGB | rgb(162, 102, 251) |
| HSL | hsl(264, 95%, 69%) |
| HSV | hsv(264, 59%, 98%) |
| CMYK | cmyk(35.5%, 59.4%, 0%, 1.6%) |
| CIE-LAB | lab(56.24, 53.92, -65.86) |
| CIE-LCH | lch(56.24, 85.12, 309.30°) |
| OKLab | oklab(64.57% 0.103 -0.187) |
| OKLCH | oklch(64.57% 0.214 298.8) |
| XYZ | xyz(37.0599, 24.1487, 93.9568) |
| Luminance | 0.2415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.03
Light Urple
#B36FF6
ΔE00 4.07
Mediumpurple
#9370DB
ΔE00 5.51
Lightish Purple
#A552E6
ΔE00 5.77
Easter Purple
#C071FE
ΔE00 6.11
Bright Lavender
#C760FF
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A266FB #BFFB66
analogous
#6675FB #A266FB #EC66FB
triadic
#A266FB #FBA266 #66FBA2
tetradic
#A266FB #FB6675 #BFFB66 #66FBEC
square
#A266FB #FB6675 #BFFB66 #66FBEC
split-complementary
#A266FB #FBEC66 #75FB66
monochromatic
#5E06E1 #7E2AF9 #A266FB #C6A2FD #EBDDFE
Accessibility & contrast
On white
3.60
#A266FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#A266FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A266FB
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A266FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A266FB | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#2E85F8
Tritanopia (blue-blind)
#8E86A7
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a266fb; /* rgb */ color: rgb(162, 102, 251); /* oklch */ color: oklch(64.6% 0.214 298.8);
Tailwind
colors: {
custom: {
50: '#c394fd',
500: '#a266fb',
950: '#000000',
},
}SCSS
$custom: #a266fb; $custom-light: #c394fd; $custom-dark: #000000;
JSON
{
"hex": "#a266fb",
"rgb": {
"r": 162,
"g": 102,
"b": 251
},
"hsl": {
"h": 264.161,
"s": 94.904,
"l": 69.216
},
"oklch": {
"l": 0.64574,
"c": 0.21352,
"h": 298.8
},
"luminance": 0.24149
}Semantic roles & 50–950 ramp
primary
#A266FB
secondary
#E3F4C9
accent
#E60089
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86