#AF87E6#AF87E6

#AF87E6 es un color claro y vivo de la familia violeta. Luminancia relativa 0.322; OKLCH L 69.9% C 0.141 H 302.3°. El mejor color de texto es #000000 con contraste 7.43:1 (cumple WCAG AA).

Valores del color

HEX#AF87E6
RGBrgb(175, 135, 230)
HSLhsl(265, 66%, 72%)
HSVhsv(265, 41%, 90%)
CMYKcmyk(23.9%, 41.3%, 0%, 9.8%)
CIE-LABlab(63.47, 34.08, -42.63)
CIE-LCHlch(63.47, 54.58, 308.64°)
OKLaboklab(69.88% 0.0752 -0.1189)
OKLCHoklch(69.88% 0.141 302.3)
XYZxyz(40.6230, 32.1551, 78.9140)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AF87E6 #BEE687
analogous
#878FE6 #AF87E6 #DF87E6
triadic
#AF87E6 #E6AF87 #87E6AF
tetradic
#AF87E6 #E6878F #BEE687 #87E6DF
square
#AF87E6 #E6878F #BEE687 #87E6DF
split-complementary
#AF87E6 #E6DF87 #8FE687
monochromatic
#6D2AC9 #8D54DB #AF87E6 #D1BAF1 #EEE6FA

Accesibilidad y contraste

On white

2.83
#AF87E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#AF87E6 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AF87E6
7.43:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AF87E6#FFFFFF#000000##000000
##AF87E61.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#6F99EA
Deuteranopia (green-blind)
#7799E4
Tritanopia (blue-blind)
#A597AC
Achromatopsia (no color)
#9A9A9A

Tokens de diseño y código

CSS
--color: #af87e6;
/* rgb */ color: rgb(175, 135, 230);
/* oklch */ color: oklch(69.9% 0.141 302.3);
Tailwind
colors: {
  custom: {
    50: '#c8aaee',
    500: '#af87e6',
    950: '#000000',
  },
}
SCSS
$custom: #af87e6;
$custom-light: #c8aaee;
$custom-dark: #000000;
JSON
{
  "hex": "#af87e6",
  "rgb": {
    "r": 175,
    "g": 135,
    "b": 230
  },
  "hsl": {
    "h": 265.263,
    "s": 65.517,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69881,
    "c": 0.14065,
    "h": 302.3
  },
  "luminance": 0.32155
}

Semantic roles & 50–950 ramp

primary
#AF87E6
secondary
#E6F1D8
accent
#CD1881
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Laboratorio de vista previa

Vista previa con #AF87E6

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

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

#AF87E6 — Tintiva