#AFA5C8#AFA5C8

#AFA5C8 es un color claro y apagado de la familia violeta. Luminancia relativa 0.402; OKLCH L 74.2% C 0.051 H 298.2°. El mejor color de texto es #000000 con contraste 9.04:1 (cumple WCAG AA).

Valores del color

HEX#AFA5C8
RGBrgb(175, 165, 200)
HSLhsl(257, 24%, 72%)
HSVhsv(257, 18%, 78%)
CMYKcmyk(12.5%, 17.5%, 0%, 21.6%)
CIE-LABlab(69.61, 10.50, -16.55)
CIE-LCHlch(69.61, 19.60, 302.38°)
OKLaboklab(74.2% 0.0241 -0.0449)
OKLCHoklch(74.2% 0.051 298.2)
XYZxyz(41.5576, 40.1942, 60.2013)
Luminance0.4019 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AFA5C8 #BEC8A5
analogous
#A5ADC8 #AFA5C8 #C1A5C8
triadic
#AFA5C8 #C8AFA5 #A5C8AF
tetradic
#AFA5C8 #C8A5AD #BEC8A5 #A5C8C1
square
#AFA5C8 #C8A5AD #BEC8A5 #A5C8C1
split-complementary
#AFA5C8 #C8C1A5 #ADC8A5
monochromatic
#6D5C97 #8D7FB1 #AFA5C8 #D1CBDF #EEECF3

Accesibilidad y contraste

On white

2.32
#AFA5C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#AFA5C8 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AFA5C8
9.04:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AFA5C8#FFFFFF#000000##000000
##AFA5C81.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#9EAACA
Deuteranopia (green-blind)
#A0AAC7
Tritanopia (blue-blind)
#ABAAB1
Achromatopsia (no color)
#AAAAAA

Tokens de diseño y código

CSS
--color: #afa5c8;
/* rgb */ color: rgb(175, 165, 200);
/* oklch */ color: oklch(74.2% 0.051 298.2);
Tailwind
colors: {
  custom: {
    50: '#c7bfd8',
    500: '#afa5c8',
    950: '#000000',
  },
}
SCSS
$custom: #afa5c8;
$custom-light: #c7bfd8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5c8",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 200
  },
  "hsl": {
    "h": 257.143,
    "s": 24.138,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74196,
    "c": 0.05093,
    "h": 298.2
  },
  "luminance": 0.40194
}

Semantic roles & 50–950 ramp

primary
#AFA5C8
secondary
#E6E9E0
accent
#A34387
background
#FCFBFD
surface
#F8F7FA
border
#D1D0D3
text
#131214
muted
#828183

Laboratorio de vista previa

Vista previa con #AFA5C8

Body copy rendered with the generated semantic roles for this colour.

Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →

#AFA5C8 — Tintiva