#AF98E5#AF98E5
#AF98E5 es un color claro y moderadamente saturado de la familia violeta. Luminancia relativa 0.372; OKLCH L 72.9% C 0.112 H 297.3°. El mejor color de texto es #000000 con contraste 8.45:1 (cumple WCAG AA).
Valores del color
| HEX | #AF98E5 |
|---|---|
| RGB | rgb(175, 152, 229) |
| HSL | hsl(258, 60%, 75%) |
| HSV | hsv(258, 34%, 90%) |
| CMYK | cmyk(23.6%, 33.6%, 0%, 10.2%) |
| CIE-LAB | lab(67.45, 24.29, -35.86) |
| CIE-LCH | lch(67.45, 43.32, 304.11°) |
| OKLab | oklab(72.89% 0.0513 -0.0994) |
| OKLCH | oklch(72.89% 0.112 297.3) |
| XYZ | xyz(43.0471, 37.2272, 79.0312) |
| Luminance | 0.3723 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Colores con nombre más cercanos
Lavender
#B39DDB
ΔE00 3.38
Lavender (survey)
#C79FEF
ΔE00 4.85
Pale Purple
#B790D4
ΔE00 5.15
Baby Purple
#CA9BF7
ΔE00 5.50
Pastel Purple
#CAA0FF
ΔE00 5.66
Lilac (survey)
#CEA2FD
ΔE00 6.17
Escalas perceptuales
Sombras
Matices
Tonos
OKLCH scale
Armonías de color
complementary
#AF98E5 #CEE598
analogous
#98A8E5 #AF98E5 #D698E5
triadic
#AF98E5 #E5AF98 #98E5AF
tetradic
#AF98E5 #E598A8 #CEE598 #98E5D6
square
#AF98E5 #E598A8 #CEE598 #98E5D6
split-complementary
#AF98E5 #E5D698 #A8E598
monochromatic
#6336CC #8967D9 #AF98E5 #D5C9F1 #ECE7F9
Accesibilidad y contraste
On white
2.49
#AF98E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#AF98E5 on #000000
AA ✓AA large ✓AAA ✓
Mejor color de texto
#000000 on #AF98E5
8.45:1 — WCAG AA (texto normal) cumple
Matriz de contraste
| fg \ bg | ##AF98E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF98E5 | 1.00 | 2.49 | 8.45 | 8.45 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Vista previa de daltonismo
Protanopia (red-blind)
#85A4E8
Deuteranopia (green-blind)
#89A3E3
Tritanopia (blue-blind)
#A5A5B4
Achromatopsia (no color)
#A4A4A4
Tokens de diseño y código
CSS
--color: #af98e5; /* rgb */ color: rgb(175, 152, 229); /* oklch */ color: oklch(72.9% 0.112 297.3);
Tailwind
colors: {
custom: {
50: '#c8b6ed',
500: '#af98e5',
950: '#000000',
},
}SCSS
$custom: #af98e5; $custom-light: #c8b6ed; $custom-dark: #000000;
JSON
{
"hex": "#af98e5",
"rgb": {
"r": 175,
"g": 152,
"b": 229
},
"hsl": {
"h": 257.922,
"s": 59.69,
"l": 74.706
},
"oklch": {
"l": 0.72888,
"c": 0.11184,
"h": 297.3
},
"luminance": 0.37228
}Semantic roles & 50–950 ramp
primary
#AF98E5
secondary
#EAF0DB
accent
#C71E95
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084
Laboratorio de vista previa
Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →