#A460C2#A460C2
#A460C2 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.5% C 0.158 H 314.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A460C2 |
|---|---|
| RGB | rgb(164, 96, 194) |
| HSL | hsl(282, 45%, 57%) |
| HSV | hsv(282, 51%, 76%) |
| CMYK | cmyk(15.5%, 50.5%, 0%, 23.9%) |
| CIE-LAB | lab(52.01, 44.34, -40.44) |
| CIE-LCH | lch(52.01, 60.01, 317.63°) |
| OKLab | oklab(60.48% 0.1111 -0.1126) |
| OKLCH | oklch(60.48% 0.158 314.6) |
| XYZ | xyz(29.2288, 20.1541, 53.3789) |
| Luminance | 0.2015 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.93
Mediumorchid
#BA55D3
ΔE00 4.62
Deep Lavender
#8D5EB7
ΔE00 4.93
Deep Lilac
#966EBD
ΔE00 5.00
Soft Purple
#A66FB5
ΔE00 5.64
Lightish Purple
#A552E6
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A460C2 #7EC260
analogous
#7360C2 #A460C2 #C260AF
triadic
#A460C2 #C2A460 #60C2A4
tetradic
#A460C2 #C27360 #7EC260 #60AFC2
square
#A460C2 #C27360 #7EC260 #60AFC2
split-complementary
#A460C2 #AFC260 #60C273
monochromatic
#622E79 #863FA5 #A460C2 #BD8CD3 #D7B8E4
Accessibility & contrast
On white
4.17
#A460C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#A460C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A460C2
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A460C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A460C2 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#A26F88
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a460c2; /* rgb */ color: rgb(164, 96, 194); /* oklch */ color: oklch(60.5% 0.158 314.6);
Tailwind
colors: {
custom: {
50: '#c18fd5',
500: '#a460c2',
950: '#000000',
},
}SCSS
$custom: #a460c2; $custom-light: #c18fd5; $custom-dark: #000000;
JSON
{
"hex": "#a460c2",
"rgb": {
"r": 164,
"g": 96,
"b": 194
},
"hsl": {
"h": 281.633,
"s": 44.545,
"l": 56.863
},
"oklch": {
"l": 0.60475,
"c": 0.15817,
"h": 314.6
},
"luminance": 0.20153
}Semantic roles & 50–950 ramp
primary
#A460C2
secondary
#B7D3AB
accent
#D4547B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83