#A366EC#A366EC
#A366EC is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.7% C 0.196 H 302.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A366EC |
|---|---|
| RGB | rgb(163, 102, 236) |
| HSL | hsl(267, 78%, 66%) |
| HSV | hsv(267, 57%, 93%) |
| CMYK | cmyk(30.9%, 56.8%, 0%, 7.5%) |
| CIE-LAB | lab(55.43, 50.48, -58.82) |
| CIE-LCH | lch(55.43, 77.51, 310.64°) |
| OKLab | oklab(63.71% 0.1045 -0.1663) |
| OKLCH | oklch(63.71% 0.196 302.1) |
| XYZ | xyz(34.9925, 23.3453, 82.0032) |
| Luminance | 0.2334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.79
Light Urple
#B36FF6
ΔE00 3.87
Mediumpurple
#9370DB
ΔE00 4.44
Lightish Purple
#A552E6
ΔE00 4.73
Easter Purple
#C071FE
ΔE00 6.16
Bright Lavender
#C760FF
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A366EC #AFEC66
analogous
#666CEC #A366EC #E666EC
triadic
#A366EC #ECA366 #66ECA3
tetradic
#A366EC #EC666C #AFEC66 #66ECE6
square
#A366EC #EC666C #AFEC66 #66ECE6
split-complementary
#A366EC #ECE666 #6CEC66
monochromatic
#6418C0 #8230E5 #A366EC #C49CF3 #E4D3FA
Accessibility & contrast
On white
3.70
#A366EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#A366EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A366EC
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A366EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A366EC | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B84F0
Deuteranopia (green-blind)
#4484E9
Tritanopia (blue-blind)
#95819F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a366ec; /* rgb */ color: rgb(163, 102, 236); /* oklch */ color: oklch(63.7% 0.196 302.1);
Tailwind
colors: {
custom: {
50: '#c294f3',
500: '#a366ec',
950: '#000000',
},
}SCSS
$custom: #a366ec; $custom-light: #c294f3; $custom-dark: #000000;
JSON
{
"hex": "#a366ec",
"rgb": {
"r": 163,
"g": 102,
"b": 236
},
"hsl": {
"h": 267.313,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.63713,
"c": 0.1964,
"h": 302.1
},
"luminance": 0.23345
}Semantic roles & 50–950 ramp
primary
#A366EC
secondary
#D9EDC1
accent
#DA0B7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85