#A260DC#A260DC
#A260DC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.7% C 0.187 H 306.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A260DC |
|---|---|
| RGB | rgb(162, 96, 220) |
| HSL | hsl(272, 64%, 62%) |
| HSV | hsv(272, 56%, 86%) |
| CMYK | cmyk(26.4%, 56.4%, 0%, 13.7%) |
| CIE-LAB | lab(53.18, 49.63, -53.42) |
| CIE-LCH | lch(53.18, 72.91, 312.89°) |
| OKLab | oklab(61.74% 0.1104 -0.1505) |
| OKLCH | oklch(61.74% 0.187 306.3) |
| XYZ | xyz(31.9987, 21.2147, 70.1054) |
| Luminance | 0.2121 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.27
Lighter Purple
#A55AF4
ΔE00 3.56
Amethyst
#9B5FC0
ΔE00 4.67
Mediumpurple
#9370DB
ΔE00 5.22
Mediumorchid
#BA55D3
ΔE00 5.39
Light Urple
#B36FF6
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A260DC #9ADC60
analogous
#6460DC #A260DC #DC60D8
triadic
#A260DC #DCA260 #60DCA2
tetradic
#A260DC #DC6460 #9ADC60 #60D8DC
square
#A260DC #DC6460 #9ADC60 #60D8DC
split-complementary
#A260DC #D8DC60 #60DC64
monochromatic
#65239F #852ED1 #A260DC #BF92E7 #DDC4F2
Accessibility & contrast
On white
4.01
#A260DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#A260DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A260DC
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A260DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A260DC | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#327DE0
Deuteranopia (green-blind)
#4B7FD9
Tritanopia (blue-blind)
#997895
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a260dc; /* rgb */ color: rgb(162, 96, 220); /* oklch */ color: oklch(61.7% 0.187 306.3);
Tailwind
colors: {
custom: {
50: '#c190e7',
500: '#a260dc',
950: '#000000',
},
}SCSS
$custom: #a260dc; $custom-light: #c190e7; $custom-dark: #000000;
JSON
{
"hex": "#a260dc",
"rgb": {
"r": 162,
"g": 96,
"b": 220
},
"hsl": {
"h": 271.935,
"s": 63.918,
"l": 61.961
},
"oklch": {
"l": 0.61743,
"c": 0.18665,
"h": 306.3
},
"luminance": 0.21214
}Semantic roles & 50–950 ramp
primary
#A260DC
secondary
#CAE3B5
accent
#CC1A6D
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84