#AF8EEB#AF8EEB

#AF8EEB es un color claro y vivo de la familia violeta. Luminancia relativa 0.345; OKLCH L 71.4% C 0.136 H 299.3°. El mejor color de texto es #000000 con contraste 7.89:1 (cumple WCAG AA).

Valores del color

HEX#AF8EEB
RGBrgb(175, 142, 235)
HSLhsl(261, 70%, 74%)
HSVhsv(261, 40%, 92%)
CMYKcmyk(25.5%, 39.6%, 0%, 7.8%)
CIE-LABlab(65.32, 31.34, -42.49)
CIE-LCHlch(65.32, 52.79, 306.41°)
OKLaboklab(71.36% 0.0665 -0.1185)
OKLCHoklch(71.36% 0.136 299.3)
XYZxyz(42.3442, 34.4579, 83.0013)
Luminance0.3446 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AF8EEB #CAEB8E
analogous
#8E9CEB #AF8EEB #DE8EEB
triadic
#AF8EEB #EBAF8E #8EEBAF
tetradic
#AF8EEB #EB8E9C #CAEB8E #8EEBDE
square
#AF8EEB #EB8E9C #CAEB8E #8EEBDE
split-complementary
#AF8EEB #EBDE8E #9CEB8E
monochromatic
#6526D8 #8A5AE2 #AF8EEB #D4C2F4 #EDE5FA

Accesibilidad y contraste

On white

2.66
#AF8EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#AF8EEB on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AF8EEB
7.89:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AF8EEB#FFFFFF#000000##000000
##AF8EEB1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#769EEF
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#A49EB1
Achromatopsia (no color)
#9F9F9F

Tokens de diseño y código

CSS
--color: #af8eeb;
/* rgb */ color: rgb(175, 142, 235);
/* oklch */ color: oklch(71.4% 0.136 299.3);
Tailwind
colors: {
  custom: {
    50: '#c8aff2',
    500: '#af8eeb',
    950: '#000000',
  },
}
SCSS
$custom: #af8eeb;
$custom-light: #c8aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#af8eeb",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 261.29,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71358,
    "c": 0.13582,
    "h": 299.3
  },
  "luminance": 0.34458
}

Semantic roles & 50–950 ramp

primary
#AF8EEB
secondary
#E9F2D9
accent
#D2148E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Laboratorio de vista previa

Vista previa con #AF8EEB

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

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

#AF8EEB — Tintiva