#AF8FD8#AF8FD8

#AF8FD8 es un color claro y moderadamente saturado de la familia violeta. Luminancia relativa 0.337; OKLCH L 70.6% C 0.109 H 303.9°. El mejor color de texto es #000000 con contraste 7.74:1 (cumple WCAG AA).

Valores del color

HEX#AF8FD8
RGBrgb(175, 143, 216)
HSLhsl(266, 48%, 70%)
HSVhsv(266, 34%, 85%)
CMYKcmyk(19%, 33.8%, 0%, 15.3%)
CIE-LABlab(64.74, 26.36, -32.88)
CIE-LCHlch(64.74, 42.14, 308.71°)
OKLaboklab(70.64% 0.0609 -0.0908)
OKLCHoklch(70.64% 0.109 303.9)
XYZxyz(39.8938, 33.7168, 69.3587)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AF8FD8 #B8D88F
analogous
#8F94D8 #AF8FD8 #D38FD8
triadic
#AF8FD8 #D8AF8F #8FD8AF
tetradic
#AF8FD8 #D88F94 #B8D88F #8FD8D3
square
#AF8FD8 #D88F94 #B8D88F #8FD8D3
split-complementary
#AF8FD8 #D8D38F #94D88F
monochromatic
#6F3DAF #8F62C8 #AF8FD8 #CFBCE8 #EFE8F7

Accesibilidad y contraste

On white

2.71
#AF8FD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#AF8FD8 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AF8FD8
7.74:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AF8FD8#FFFFFF#000000##000000
##AF8FD81.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#7F9CDB
Deuteranopia (green-blind)
#869DD6
Tritanopia (blue-blind)
#A99AAA
Achromatopsia (no color)
#9D9D9D

Tokens de diseño y código

CSS
--color: #af8fd8;
/* rgb */ color: rgb(175, 143, 216);
/* oklch */ color: oklch(70.6% 0.109 303.9);
Tailwind
colors: {
  custom: {
    50: '#c8b0e4',
    500: '#af8fd8',
    950: '#000000',
  },
}
SCSS
$custom: #af8fd8;
$custom-light: #c8b0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#af8fd8",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 216
  },
  "hsl": {
    "h": 266.301,
    "s": 48.344,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70641,
    "c": 0.10937,
    "h": 303.9
  },
  "luminance": 0.33717
}

Semantic roles & 50–950 ramp

primary
#AF8FD8
secondary
#E3EBD7
accent
#BC2A7C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Laboratorio de vista previa

Vista previa con #AF8FD8

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

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

#AF8FD8 — Tintiva