#A366E4#A366E4
#A366E4 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.2% C 0.187 H 303.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #A366E4 |
|---|---|
| RGB | rgb(163, 102, 228) |
| HSL | hsl(269, 70%, 65%) |
| HSV | hsv(269, 55%, 89%) |
| CMYK | cmyk(28.5%, 55.3%, 0%, 10.6%) |
| CIE-LAB | lab(54.96, 48.57, -55.08) |
| CIE-LCH | lch(54.96, 73.44, 311.41°) |
| OKLab | oklab(63.22% 0.1043 -0.1554) |
| OKLCH | oklch(63.22% 0.187 303.9) |
| XYZ | xyz(33.8561, 22.8908, 76.0185) |
| Luminance | 0.2289 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.36
Mediumpurple
#9370DB
ΔE00 4.17
Light Urple
#B36FF6
ΔE00 4.30
Lightish Purple
#A552E6
ΔE00 4.55
Amethyst
#9B5FC0
ΔE00 6.24
Mediumorchid
#BA55D3
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A366E4 #A7E466
analogous
#6668E4 #A366E4 #E266E4
triadic
#A366E4 #E4A366 #66E4A3
tetradic
#A366E4 #E46668 #A7E466 #66E4E2
square
#A366E4 #E46668 #A7E466 #66E4E2
split-complementary
#A366E4 #E4E266 #68E466
monochromatic
#651FB0 #8432DB #A366E4 #C29AED #E2CEF6
Accessibility & contrast
On white
3.76
#A366E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#A366E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A366E4
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A366E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A366E4 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3682E8
Deuteranopia (green-blind)
#4C83E1
Tritanopia (blue-blind)
#977E9B
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a366e4; /* rgb */ color: rgb(163, 102, 228); /* oklch */ color: oklch(63.2% 0.187 303.9);
Tailwind
colors: {
custom: {
50: '#c294ed',
500: '#a366e4',
950: '#000000',
},
}SCSS
$custom: #a366e4; $custom-light: #c294ed; $custom-dark: #000000;
JSON
{
"hex": "#a366e4",
"rgb": {
"r": 163,
"g": 102,
"b": 228
},
"hsl": {
"h": 269.048,
"s": 70,
"l": 64.706
},
"oklch": {
"l": 0.6322,
"c": 0.18713,
"h": 303.9
},
"luminance": 0.22891
}Semantic roles & 50–950 ramp
primary
#A366E4
secondary
#D4E9BD
accent
#D21476
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84