#A786E7#A786E7
#A786E7 es un color claro y vivo de la familia violeta. Luminancia relativa 0.310; OKLCH L 69.0% C 0.142 H 298.3°. El mejor color de texto es #000000 con contraste 7.21:1 (cumple WCAG AA).
Valores del color
| HEX | #A786E7 |
|---|---|
| RGB | rgb(167, 134, 231) |
| HSL | hsl(260, 67%, 72%) |
| HSV | hsv(260, 42%, 91%) |
| CMYK | cmyk(27.7%, 42%, 0%, 9.4%) |
| CIE-LAB | lab(62.54, 32.65, -44.71) |
| CIE-LCH | lch(62.54, 55.36, 306.14°) |
| OKLab | oklab(69.02% 0.0673 -0.125) |
| OKLCH | oklch(69.02% 0.142 298.3) |
| XYZ | xyz(38.8819, 31.0349, 79.5277) |
| Luminance | 0.3104 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Colores con nombre más cercanos
Liliac
#C48EFD
ΔE00 5.74
Perrywinkle
#8F8CE7
ΔE00 6.22
Light Purple
#BF77F6
ΔE00 6.34
Light Urple
#B36FF6
ΔE00 6.84
Periwinkle (survey)
#8E82FE
ΔE00 6.95
Mediumpurple
#9370DB
ΔE00 7.02
Escalas perceptuales
Sombras
Matices
Tonos
OKLCH scale
Armonías de color
complementary
#A786E7 #C6E786
analogous
#8696E7 #A786E7 #D886E7
triadic
#A786E7 #E7A786 #86E7A7
tetradic
#A786E7 #E78696 #C6E786 #86E7D8
square
#A786E7 #E78696 #C6E786 #86E7D8
split-complementary
#A786E7 #E7D886 #96E786
monochromatic
#5F28CA #8253DD #A786E7 #CCB9F1 #ECE5FA
Accesibilidad y contraste
On white
2.91
#A786E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#A786E7 on #000000
AA ✓AA large ✓AAA ✓
Mejor color de texto
#000000 on #A786E7
7.21:1 — WCAG AA (texto normal) cumple
Matriz de contraste
| fg \ bg | ##A786E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786E7 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Vista previa de daltonismo
Protanopia (red-blind)
#6B97EB
Deuteranopia (green-blind)
#7196E5
Tritanopia (blue-blind)
#9A97AB
Achromatopsia (no color)
#979797
Tokens de diseño y código
CSS
--color: #a786e7; /* rgb */ color: rgb(167, 134, 231); /* oklch */ color: oklch(69.0% 0.142 298.3);
Tailwind
colors: {
custom: {
50: '#c3a9ef',
500: '#a786e7',
950: '#000000',
},
}SCSS
$custom: #a786e7; $custom-light: #c3a9ef; $custom-dark: #000000;
JSON
{
"hex": "#a786e7",
"rgb": {
"r": 167,
"g": 134,
"b": 231
},
"hsl": {
"h": 260.412,
"s": 66.897,
"l": 71.569
},
"oklch": {
"l": 0.69015,
"c": 0.142,
"h": 298.3
},
"luminance": 0.31035
}Semantic roles & 50–950 ramp
primary
#A786E7
secondary
#E8F1D8
accent
#CF1790
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84
Laboratorio de vista previa
Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →