#A366E1#A366E1
#A366E1 is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.184 H 304.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #A366E1 |
|---|---|
| RGB | rgb(163, 102, 225) |
| HSL | hsl(270, 67%, 64%) |
| HSV | hsv(270, 55%, 88%) |
| CMYK | cmyk(27.6%, 54.7%, 0%, 11.8%) |
| CIE-LAB | lab(54.79, 47.86, -53.67) |
| CIE-LCH | lch(54.79, 71.91, 311.73°) |
| OKLab | oklab(63.04% 0.1042 -0.1512) |
| OKLCH | oklch(63.04% 0.184 304.6) |
| XYZ | xyz(33.4433, 22.7257, 73.8442) |
| Luminance | 0.2273 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.67
Mediumpurple
#9370DB
ΔE00 4.16
Light Urple
#B36FF6
ΔE00 4.54
Lightish Purple
#A552E6
ΔE00 4.56
Amethyst
#9B5FC0
ΔE00 5.81
Mediumorchid
#BA55D3
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A366E1 #A4E166
analogous
#6667E1 #A366E1 #E066E1
triadic
#A366E1 #E1A366 #66E1A3
tetradic
#A366E1 #E16667 #A4E166 #66E1E0
square
#A366E1 #E16667 #A4E166 #66E1E0
split-complementary
#A366E1 #E1E066 #67E166
monochromatic
#6622AB #8433D7 #A366E1 #C299EB #E1CCF5
Accessibility & contrast
On white
3.79
#A366E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#A366E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A366E1
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A366E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A366E1 | 1.00 | 3.79 | 5.55 | 5.55 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3981E5
Deuteranopia (green-blind)
#4F83DE
Tritanopia (blue-blind)
#987D9A
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a366e1; /* rgb */ color: rgb(163, 102, 225); /* oklch */ color: oklch(63.0% 0.184 304.6);
Tailwind
colors: {
custom: {
50: '#c194eb',
500: '#a366e1',
950: '#000000',
},
}SCSS
$custom: #a366e1; $custom-light: #c194eb; $custom-dark: #000000;
JSON
{
"hex": "#a366e1",
"rgb": {
"r": 163,
"g": 102,
"b": 225
},
"hsl": {
"h": 269.756,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.63039,
"c": 0.18365,
"h": 304.6
},
"luminance": 0.22726
}Semantic roles & 50–950 ramp
primary
#A366E1
secondary
#D2E7BC
accent
#CF1674
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84