#AF9AFF#AF9AFF

#AF9AFF es un color claro y vivo de la familia violeta. Luminancia relativa 0.394; OKLCH L 74.5% C 0.144 H 292.1°. El mejor color de texto es #000000 con contraste 8.89:1 (cumple WCAG AA).

Valores del color

HEX#AF9AFF
RGBrgb(175, 154, 255)
HSLhsl(252, 100%, 80%)
HSVhsv(252, 40%, 100%)
CMYKcmyk(31.4%, 39.6%, 0%, 0%)
CIE-LABlab(69.07, 29.48, -47.54)
CIE-LCHlch(69.07, 55.94, 301.80°)
OKLaboklab(74.5% 0.0541 -0.1331)
OKLCHoklch(74.5% 0.144 292.1)
XYZxyz(47.2802, 39.4442, 99.7108)
Luminance0.3945 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AF9AFF #EAFF9A
analogous
#9AB8FF #AF9AFF #E19AFF
triadic
#AF9AFF #FFAF9A #9AFFAF
tetradic
#AF9AFF #FF9AB8 #EAFF9A #9AFFE1
square
#AF9AFF #FF9AB8 #EAFF9A #9AFFE1
split-complementary
#AF9AFF #FFE19A #B8FF9A
monochromatic
#4E20FF #7F5DFF #AF9AFF #DFD7FF #E7E0FF

Accesibilidad y contraste

On white

2.36
#AF9AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#AF9AFF on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AF9AFF
8.89:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AF9AFF#FFFFFF#000000##000000
##AF9AFF1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#7EA7FC
Tritanopia (blue-blind)
#9CACC0
Achromatopsia (no color)
#A9A9A9

Tokens de diseño y código

CSS
--color: #af9aff;
/* rgb */ color: rgb(175, 154, 255);
/* oklch */ color: oklch(74.5% 0.144 292.1);
Tailwind
colors: {
  custom: {
    50: '#c9b8ff',
    500: '#af9aff',
    950: '#000000',
  },
}
SCSS
$custom: #af9aff;
$custom-light: #c9b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af9aff",
  "rgb": {
    "r": 175,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 252.475,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.74502,
    "c": 0.14369,
    "h": 292.1
  },
  "luminance": 0.39445
}

Semantic roles & 50–950 ramp

primary
#AF9AFF
secondary
#F0F7D4
accent
#E600B6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Laboratorio de vista previa

Vista previa con #AF9AFF

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

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

#AF9AFF — Tintiva