#A261DC#A261DC
#A261DC is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.9% C 0.185 H 306.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A261DC |
|---|---|
| RGB | rgb(162, 97, 220) |
| HSL | hsl(272, 64%, 62%) |
| HSV | hsv(272, 56%, 86%) |
| CMYK | cmyk(26.4%, 55.9%, 0%, 13.7%) |
| CIE-LAB | lab(53.38, 49.10, -53.10) |
| CIE-LCH | lch(53.38, 72.32, 312.76°) |
| OKLab | oklab(61.89% 0.1091 -0.1496) |
| OKLCH | oklch(61.89% 0.185 306.1) |
| XYZ | xyz(32.0905, 21.3984, 70.1360) |
| Luminance | 0.2140 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.49
Lighter Purple
#A55AF4
ΔE00 3.63
Amethyst
#9B5FC0
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 5.03
Mediumorchid
#BA55D3
ΔE00 5.47
Light Urple
#B36FF6
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A261DC #9BDC61
analogous
#6461DC #A261DC #DC61D9
triadic
#A261DC #DCA261 #61DCA2
tetradic
#A261DC #DC6461 #9BDC61 #61D9DC
square
#A261DC #DC6461 #9BDC61 #61D9DC
split-complementary
#A261DC #D9DC61 #61DC64
monochromatic
#65239F #852FD1 #A261DC #BF93E7 #DDC5F2
Accessibility & contrast
On white
3.98
#A261DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#A261DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A261DC
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A261DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A261DC | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#347DE0
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#997895
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a261dc; /* rgb */ color: rgb(162, 97, 220); /* oklch */ color: oklch(61.9% 0.185 306.1);
Tailwind
colors: {
custom: {
50: '#c190e7',
500: '#a261dc',
950: '#000000',
},
}SCSS
$custom: #a261dc; $custom-light: #c190e7; $custom-dark: #000000;
JSON
{
"hex": "#a261dc",
"rgb": {
"r": 162,
"g": 97,
"b": 220
},
"hsl": {
"h": 271.707,
"s": 63.731,
"l": 62.157
},
"oklch": {
"l": 0.61889,
"c": 0.18515,
"h": 306.1
},
"luminance": 0.21398
}Semantic roles & 50–950 ramp
primary
#A261DC
secondary
#CBE3B6
accent
#CC1A6E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84