#A366EB#A366EB
#A366EB is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.6% C 0.195 H 302.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A366EB |
|---|---|
| RGB | rgb(163, 102, 235) |
| HSL | hsl(268, 77%, 66%) |
| HSV | hsv(268, 57%, 92%) |
| CMYK | cmyk(30.6%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(55.37, 50.24, -58.35) |
| CIE-LCH | lch(55.37, 77.00, 310.73°) |
| OKLab | oklab(63.65% 0.1044 -0.165) |
| OKLCH | oklch(63.65% 0.195 302.3) |
| XYZ | xyz(34.8476, 23.2874, 81.2402) |
| Luminance | 0.2329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.84
Light Urple
#B36FF6
ΔE00 3.91
Mediumpurple
#9370DB
ΔE00 4.39
Lightish Purple
#A552E6
ΔE00 4.69
Easter Purple
#C071FE
ΔE00 6.19
Bright Lavender
#C760FF
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A366EB #AEEB66
analogous
#666BEB #A366EB #E666EB
triadic
#A366EB #EBA366 #66EBA3
tetradic
#A366EB #EB666B #AEEB66 #66EBE6
square
#A366EB #EB666B #AEEB66 #66EBE6
split-complementary
#A366EB #EBE666 #6BEB66
monochromatic
#6419BE #8230E4 #A366EB #C49CF2 #E4D2F9
Accessibility & contrast
On white
3.71
#A366EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#A366EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A366EB
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A366EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A366EB | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C83EF
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#95809F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a366eb; /* rgb */ color: rgb(163, 102, 235); /* oklch */ color: oklch(63.6% 0.195 302.3);
Tailwind
colors: {
custom: {
50: '#c294f2',
500: '#a366eb',
950: '#000000',
},
}SCSS
$custom: #a366eb; $custom-light: #c294f2; $custom-dark: #000000;
JSON
{
"hex": "#a366eb",
"rgb": {
"r": 163,
"g": 102,
"b": 235
},
"hsl": {
"h": 267.519,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.6365,
"c": 0.19524,
"h": 302.3
},
"luminance": 0.23287
}Semantic roles & 50–950 ramp
primary
#A366EB
secondary
#D8ECC1
accent
#D90C7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85