#A366B2#A366B2
#A366B2 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.5% C 0.130 H 319.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A366B2 |
|---|---|
| RGB | rgb(163, 102, 178) |
| HSL | hsl(288, 33%, 55%) |
| HSV | hsv(288, 43%, 70%) |
| CMYK | cmyk(8.4%, 42.7%, 0%, 30.2%) |
| CIE-LAB | lab(52.40, 37.42, -30.60) |
| CIE-LCH | lch(52.40, 48.33, 320.73°) |
| OKLab | oklab(60.49% 0.0987 -0.0842) |
| OKLCH | oklch(60.49% 0.13 319.5) |
| XYZ | xyz(27.8905, 20.5045, 44.5994) |
| Luminance | 0.2050 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.74
Dark Lilac
#9C6DA5
ΔE00 4.10
Amethyst
#9B5FC0
ΔE00 4.71
Deep Lilac
#966EBD
ΔE00 4.87
Deep Lavender
#8D5EB7
ΔE00 6.31
Wisteria
#A87DC2
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A366B2 #75B266
analogous
#7D66B2 #A366B2 #B2669B
triadic
#A366B2 #B2A366 #66B2A3
tetradic
#A366B2 #B27D66 #75B266 #669BB2
square
#A366B2 #B27D66 #75B266 #669BB2
split-complementary
#A366B2 #9BB266 #66B27D
monochromatic
#5F3569 #834992 #A366B2 #BB8FC6 #D4B7DB
Accessibility & contrast
On white
4.12
#A366B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#A366B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A366B2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A366B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A366B2 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#A47084
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a366b2; /* rgb */ color: rgb(163, 102, 178); /* oklch */ color: oklch(60.5% 0.130 319.5);
Tailwind
colors: {
custom: {
50: '#bf93c9',
500: '#a366b2',
950: '#000000',
},
}SCSS
$custom: #a366b2; $custom-light: #bf93c9; $custom-dark: #000000;
JSON
{
"hex": "#a366b2",
"rgb": {
"r": 163,
"g": 102,
"b": 178
},
"hsl": {
"h": 288.158,
"s": 33.043,
"l": 54.902
},
"oklch": {
"l": 0.60492,
"c": 0.12977,
"h": 319.5
},
"luminance": 0.20504
}Semantic roles & 50–950 ramp
primary
#A366B2
secondary
#B0CAAA
accent
#C95F74
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82