#A660C2#A660C2
#A660C2 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.7% C 0.159 H 315.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A660C2 |
|---|---|
| RGB | rgb(166, 96, 194) |
| HSL | hsl(283, 45%, 57%) |
| HSV | hsv(283, 51%, 76%) |
| CMYK | cmyk(14.4%, 50.5%, 0%, 23.9%) |
| CIE-LAB | lab(52.25, 44.90, -40.04) |
| CIE-LCH | lch(52.25, 60.16, 318.27°) |
| OKLab | oklab(60.71% 0.1135 -0.1114) |
| OKLCH | oklch(60.71% 0.159 315.5) |
| XYZ | xyz(29.6449, 20.3686, 53.3984) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.35
Mediumorchid
#BA55D3
ΔE00 4.36
Deep Lilac
#966EBD
ΔE00 5.21
Deep Lavender
#8D5EB7
ΔE00 5.33
Soft Purple
#A66FB5
ΔE00 5.48
Lightish Purple
#A552E6
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A660C2 #7CC260
analogous
#7560C2 #A660C2 #C260AD
triadic
#A660C2 #C2A660 #60C2A6
tetradic
#A660C2 #C27560 #7CC260 #60ADC2
square
#A660C2 #C27560 #7CC260 #60ADC2
split-complementary
#A660C2 #ADC260 #60C275
monochromatic
#642E79 #883FA5 #A660C2 #BF8CD3 #D8B8E4
Accessibility & contrast
On white
4.14
#A660C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#A660C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A660C2
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A660C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A660C2 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#607FBF
Tritanopia (blue-blind)
#A46F88
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a660c2; /* rgb */ color: rgb(166, 96, 194); /* oklch */ color: oklch(60.7% 0.159 315.5);
Tailwind
colors: {
custom: {
50: '#c28fd5',
500: '#a660c2',
950: '#000000',
},
}SCSS
$custom: #a660c2; $custom-light: #c28fd5; $custom-dark: #000000;
JSON
{
"hex": "#a660c2",
"rgb": {
"r": 166,
"g": 96,
"b": 194
},
"hsl": {
"h": 282.857,
"s": 44.545,
"l": 56.863
},
"oklch": {
"l": 0.60705,
"c": 0.15906,
"h": 315.5
},
"luminance": 0.20368
}Semantic roles & 50–950 ramp
primary
#A660C2
secondary
#B6D3AB
accent
#D45478
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83