#A366F2#A366F2
#A366F2 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.1% C 0.203 H 300.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A366F2 |
|---|---|
| RGB | rgb(163, 102, 242) |
| HSL | hsl(266, 84%, 67%) |
| HSV | hsv(266, 58%, 95%) |
| CMYK | cmyk(32.6%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(55.79, 51.93, -61.59) |
| CIE-LCH | lch(55.79, 80.56, 310.14°) |
| OKLab | oklab(64.09% 0.1044 -0.1744) |
| OKLCH | oklch(64.09% 0.203 300.9) |
| XYZ | xyz(35.8788, 23.6999, 86.6715) |
| Luminance | 0.2370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.68
Light Urple
#B36FF6
ΔE00 3.76
Mediumpurple
#9370DB
ΔE00 4.82
Lightish Purple
#A552E6
ΔE00 5.06
Easter Purple
#C071FE
ΔE00 5.99
Bright Lavender
#C760FF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A366F2 #B5F266
analogous
#666FF2 #A366F2 #E966F2
triadic
#A366F2 #F2A366 #66F2A3
tetradic
#A366F2 #F2666F #B5F266 #66F2E9
square
#A366F2 #F2666F #B5F266 #66F2E9
split-complementary
#A366F2 #F2E966 #6FF266
monochromatic
#6311CC #812EED #A366F2 #C59EF7 #E7D7FC
Accessibility & contrast
On white
3.66
#A366F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#A366F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A366F2
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A366F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A366F2 | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F85F7
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#9383A2
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a366f2; /* rgb */ color: rgb(163, 102, 242); /* oklch */ color: oklch(64.1% 0.203 300.9);
Tailwind
colors: {
custom: {
50: '#c394f7',
500: '#a366f2',
950: '#000000',
},
}SCSS
$custom: #a366f2; $custom-light: #c394f7; $custom-dark: #000000;
JSON
{
"hex": "#a366f2",
"rgb": {
"r": 163,
"g": 102,
"b": 242
},
"hsl": {
"h": 266.143,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.64092,
"c": 0.20332,
"h": 300.9
},
"luminance": 0.237
}Semantic roles & 50–950 ramp
primary
#A366F2
secondary
#DDF0C4
accent
#E10581
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85