#AF98DC#AF98DC

#AF98DC es un color claro y moderadamente saturado de la familia violeta. Luminancia relativa 0.367; OKLCH L 72.5% C 0.100 H 299.4°. El mejor color de texto es #000000 con contraste 8.35:1 (cumple WCAG AA).

Valores del color

HEX#AF98DC
RGBrgb(175, 152, 220)
HSLhsl(260, 49%, 73%)
HSVhsv(260, 31%, 86%)
CMYKcmyk(20.5%, 30.9%, 0%, 13.7%)
CIE-LABlab(67.08, 22.20, -31.47)
CIE-LCHlch(67.08, 38.51, 305.20°)
OKLaboklab(72.49% 0.049 -0.0868)
OKLCHoklch(72.49% 0.1 299.4)
XYZxyz(41.8229, 36.7376, 72.5840)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AF98DC #C5DC98
analogous
#98A3DC #AF98DC #D198DC
triadic
#AF98DC #DCAF98 #98DCAF
tetradic
#AF98DC #DC98A3 #C5DC98 #98DCD1
square
#AF98DC #DC98A3 #C5DC98 #98DCD1
split-complementary
#AF98DC #DCD198 #A3DC98
monochromatic
#693FBA #8C6ACC #AF98DC #D2C6EC #EDE8F7

Accesibilidad y contraste

On white

2.52
#AF98DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#AF98DC on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AF98DC
8.35:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AF98DC#FFFFFF#000000##000000
##AF98DC1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#89A3DF
Deuteranopia (green-blind)
#8DA3DA
Tritanopia (blue-blind)
#A7A3B0
Achromatopsia (no color)
#A3A3A3

Tokens de diseño y código

CSS
--color: #af98dc;
/* rgb */ color: rgb(175, 152, 220);
/* oklch */ color: oklch(72.5% 0.100 299.4);
Tailwind
colors: {
  custom: {
    50: '#c8b6e7',
    500: '#af98dc',
    950: '#000000',
  },
}
SCSS
$custom: #af98dc;
$custom-light: #c8b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af98dc",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 260.294,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72486,
    "c": 0.0997,
    "h": 299.4
  },
  "luminance": 0.36738
}

Semantic roles & 50–950 ramp

primary
#AF98DC
secondary
#E8EEDD
accent
#BD298B
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Laboratorio de vista previa

Vista previa con #AF98DC

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

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

#AF98DC — Tintiva