#AF7DC8#AF7DC8

#AF7DC8 es un color claro y vivo de la familia purple. Luminancia relativa 0.280; OKLCH L 66.7% C 0.120 H 313.9°. El mejor color de texto es #000000 con contraste 6.59:1 (cumple WCAG AA).

Valores del color

HEX#AF7DC8
RGBrgb(175, 125, 200)
HSLhsl(280, 41%, 64%)
HSVhsv(280, 38%, 78%)
CMYKcmyk(12.5%, 37.5%, 0%, 21.6%)
CIE-LABlab(59.85, 32.95, -31.51)
CIE-LCHlch(59.85, 45.59, 316.28°)
OKLaboklab(66.71% 0.0835 -0.0868)
OKLCHoklch(66.71% 0.12 313.9)
XYZxyz(35.4365, 27.9520, 58.1609)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AF7DC8 #96C87D
analogous
#897DC8 #AF7DC8 #C87DBB
triadic
#AF7DC8 #C8AF7D #7DC8AF
tetradic
#AF7DC8 #C8897D #96C87D #7DBBC8
square
#AF7DC8 #C8897D #96C87D #7DBBC8
split-complementary
#AF7DC8 #BBC87D #7DC889
monochromatic
#733C8E #9552B6 #AF7DC8 #C9A8DA #E4D3EC

Accesibilidad y contraste

On white

3.19
#AF7DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#AF7DC8 on #000000
AA ✓AA large ✓AAA ✗

Mejor color de texto

#000000 on #AF7DC8
6.59:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AF7DC8#FFFFFF#000000##000000
##AF7DC81.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#708DCB
Deuteranopia (green-blind)
#7C92C6
Tritanopia (blue-blind)
#AD8799
Achromatopsia (no color)
#909090

Tokens de diseño y código

CSS
--color: #af7dc8;
/* rgb */ color: rgb(175, 125, 200);
/* oklch */ color: oklch(66.7% 0.120 313.9);
Tailwind
colors: {
  custom: {
    50: '#c8a3d9',
    500: '#af7dc8',
    950: '#000000',
  },
}
SCSS
$custom: #af7dc8;
$custom-light: #c8a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af7dc8",
  "rgb": {
    "r": 175,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 280,
    "s": 40.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66706,
    "c": 0.12044,
    "h": 313.9
  },
  "luminance": 0.27951
}

Semantic roles & 50–950 ramp

primary
#AF7DC8
secondary
#CCDEC3
accent
#B4325D
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83

Laboratorio de vista previa

Vista previa con #AF7DC8

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

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

#AF7DC8 — Tintiva