#AF97F1#AF97F1
#AF97F1 es un color claro y vivo de la familia violeta. Luminancia relativa 0.376; OKLCH L 73.3% C 0.130 H 295.3°. El mejor color de texto es #000000 con contraste 8.52:1 (cumple WCAG AA).
Valores del color
| HEX | #AF97F1 |
|---|---|
| RGB | rgb(175, 151, 241) |
| HSL | hsl(256, 76%, 77%) |
| HSV | hsv(256, 37%, 95%) |
| CMYK | cmyk(27.4%, 37.3%, 0%, 5.5%) |
| CIE-LAB | lab(67.72, 27.72, -42.02) |
| CIE-LCH | lch(67.72, 50.34, 303.41°) |
| OKLab | oklab(73.27% 0.0553 -0.1171) |
| OKLCH | oklch(73.27% 0.13 295.3) |
| XYZ | xyz(44.6192, 37.5975, 88.1083) |
| Luminance | 0.3760 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Colores con nombre más cercanos
Pastel Purple
#CAA0FF
ΔE00 5.23
Liliac
#C48EFD
ΔE00 5.44
Baby Purple
#CA9BF7
ΔE00 5.48
Lavender (survey)
#C79FEF
ΔE00 5.66
Lavender
#B39DDB
ΔE00 5.68
Lilac (survey)
#CEA2FD
ΔE00 6.12
Escalas perceptuales
Sombras
Matices
Tonos
OKLCH scale
Armonías de color
complementary
#AF97F1 #D9F197
analogous
#97ACF1 #AF97F1 #DC97F1
triadic
#AF97F1 #F1AF97 #97F1AF
tetradic
#AF97F1 #F197AC #D9F197 #97F1DC
square
#AF97F1 #F197AC #D9F197 #97F1DC
split-complementary
#AF97F1 #F1DC97 #ACF197
monochromatic
#5C2BE2 #8661EA #AF97F1 #D8CDF8 #EAE4FB
Accesibilidad y contraste
On white
2.46
#AF97F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#AF97F1 on #000000
AA ✓AA large ✓AAA ✓
Mejor color de texto
#000000 on #AF97F1
8.52:1 — WCAG AA (texto normal) cumple
Matriz de contraste
| fg \ bg | ##AF97F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF97F1 | 1.00 | 2.46 | 8.52 | 8.52 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Vista previa de daltonismo
Protanopia (red-blind)
#7FA6F4
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#A1A7B9
Achromatopsia (no color)
#A5A5A5
Tokens de diseño y código
CSS
--color: #af97f1; /* rgb */ color: rgb(175, 151, 241); /* oklch */ color: oklch(73.3% 0.130 295.3);
Tailwind
colors: {
custom: {
50: '#c8b5f6',
500: '#af97f1',
950: '#000000',
},
}SCSS
$custom: #af97f1; $custom-light: #c8b5f6; $custom-dark: #000000;
JSON
{
"hex": "#af97f1",
"rgb": {
"r": 175,
"g": 151,
"b": 241
},
"hsl": {
"h": 256,
"s": 76.271,
"l": 76.863
},
"oklch": {
"l": 0.73268,
"c": 0.12955,
"h": 295.3
},
"luminance": 0.37598
}Semantic roles & 50–950 ramp
primary
#AF97F1
secondary
#ECF3D8
accent
#D80DA2
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085
Laboratorio de vista previa
Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →