#AFA7C8#AFA7C8

#AFA7C8 es un color claro y apagado de la familia violeta. Luminancia relativa 0.409; OKLCH L 74.6% C 0.048 H 296.3°. El mejor color de texto es #000000 con contraste 9.18:1 (cumple WCAG AA).

Valores del color

HEX#AFA7C8
RGBrgb(175, 167, 200)
HSLhsl(255, 23%, 72%)
HSVhsv(255, 17%, 78%)
CMYKcmyk(12.5%, 16.5%, 0%, 21.6%)
CIE-LABlab(70.12, 9.39, -15.78)
CIE-LCHlch(70.12, 18.36, 300.76°)
OKLaboklab(74.6% 0.0212 -0.0427)
OKLCHoklch(74.6% 0.048 296.3)
XYZxyz(41.9211, 40.9214, 60.3225)
Luminance0.4092 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AFA7C8 #C0C8A7
analogous
#A7B0C8 #AFA7C8 #C0A7C8
triadic
#AFA7C8 #C8AFA7 #A7C8AF
tetradic
#AFA7C8 #C8A7B0 #C0C8A7 #A7C8C0
square
#AFA7C8 #C8A7B0 #C0C8A7 #A7C8C0
split-complementary
#AFA7C8 #C8C0A7 #B0C8A7
monochromatic
#6C5E97 #8D81B0 #AFA7C8 #D1CDE0 #EEECF3

Accesibilidad y contraste

On white

2.29
#AFA7C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#AFA7C8 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AFA7C8
9.18:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AFA7C8#FFFFFF#000000##000000
##AFA7C81.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#A0ACCA
Deuteranopia (green-blind)
#A1ABC7
Tritanopia (blue-blind)
#ABACB2
Achromatopsia (no color)
#ABABAB

Tokens de diseño y código

CSS
--color: #afa7c8;
/* rgb */ color: rgb(175, 167, 200);
/* oklch */ color: oklch(74.6% 0.048 296.3);
Tailwind
colors: {
  custom: {
    50: '#c7c1d8',
    500: '#afa7c8',
    950: '#000000',
  },
}
SCSS
$custom: #afa7c8;
$custom-light: #c7c1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7c8",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 200
  },
  "hsl": {
    "h": 254.545,
    "s": 23.077,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74595,
    "c": 0.04769,
    "h": 296.3
  },
  "luminance": 0.40922
}

Semantic roles & 50–950 ramp

primary
#AFA7C8
secondary
#E8EAE1
accent
#A2448B
background
#FCFBFD
surface
#F8F7FA
border
#D1D0D3
text
#131214
muted
#828183

Laboratorio de vista previa

Vista previa con #AFA7C8

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

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

#AFA7C8 — Tintiva