#A758DC#A758DC
#A758DC is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.2% C 0.200 H 309.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A758DC |
|---|---|
| RGB | rgb(167, 88, 220) |
| HSL | hsl(276, 65%, 60%) |
| HSV | hsv(276, 60%, 86%) |
| CMYK | cmyk(24.1%, 60%, 0%, 13.7%) |
| CIE-LAB | lab(52.24, 54.91, -54.89) |
| CIE-LCH | lch(52.24, 77.64, 315.01°) |
| OKLab | oklab(61.19% 0.1266 -0.1546) |
| OKLCH | oklch(61.19% 0.2 309.3) |
| XYZ | xyz(32.3418, 20.3628, 69.9229) |
| Luminance | 0.2036 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.05
Lighter Purple
#A55AF4
ΔE00 3.72
Mediumorchid
#BA55D3
ΔE00 4.27
Amethyst
#9B5FC0
ΔE00 4.86
Purpley
#8756E4
ΔE00 6.50
Light Urple
#B36FF6
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A758DC #8DDC58
analogous
#6558DC #A758DC #DC58CF
triadic
#A758DC #DCA758 #58DCA7
tetradic
#A758DC #DC6558 #8DDC58 #58CFDC
square
#A758DC #DC6558 #8DDC58 #58CFDC
split-complementary
#A758DC #CFDC58 #58DC65
monochromatic
#692099 #8B2BCC #A758DC #C28BE7 #DCBDF1
Accessibility & contrast
On white
4.14
#A758DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#A758DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A758DC
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A758DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A758DC | 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)
#2179E0
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#A07192
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a758dc; /* rgb */ color: rgb(167, 88, 220); /* oklch */ color: oklch(61.2% 0.200 309.3);
Tailwind
colors: {
custom: {
50: '#c58be7',
500: '#a758dc',
950: '#000000',
},
}SCSS
$custom: #a758dc; $custom-light: #c58be7; $custom-dark: #000000;
JSON
{
"hex": "#a758dc",
"rgb": {
"r": 167,
"g": 88,
"b": 220
},
"hsl": {
"h": 275.909,
"s": 65.347,
"l": 60.392
},
"oklch": {
"l": 0.61187,
"c": 0.19983,
"h": 309.3
},
"luminance": 0.20362
}Semantic roles & 50–950 ramp
primary
#A758DC
secondary
#C3E1AF
accent
#CD1861
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84