#AF8AFF#AF8AFF

#AF8AFF es un color claro y vivo de la familia violeta. Luminancia relativa 0.345; OKLCH L 71.7% C 0.168 H 296.5°. El mejor color de texto es #000000 con contraste 7.90:1 (cumple WCAG AA).

Valores del color

HEX#AF8AFF
RGBrgb(175, 138, 255)
HSLhsl(259, 100%, 77%)
HSVhsv(259, 46%, 100%)
CMYKcmyk(31.4%, 45.9%, 0%, 0%)
CIE-LABlab(65.37, 38.44, -53.40)
CIE-LCHlch(65.37, 65.80, 305.75°)
OKLaboklab(71.7% 0.0749 -0.1502)
OKLCHoklch(71.7% 0.168 296.5)
XYZxyz(44.8132, 34.5103, 98.8885)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AF8AFF #DAFF8A
analogous
#8AA0FF #AF8AFF #E98AFF
triadic
#AF8AFF #FFAF8A #8AFFAF
tetradic
#AF8AFF #FF8AA0 #DAFF8A #8AFFE9
square
#AF8AFF #FF8AA0 #DAFF8A #8AFFE9
split-complementary
#AF8AFF #FFE98A #A0FF8A
monochromatic
#5B10FF #854DFF #AF8AFF #D9C7FF #EAE0FF

Accesibilidad y contraste

On white

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

On black

7.90
#AF8AFF on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AF8AFF
7.90:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AF8AFF#FFFFFF#000000##000000
##AF8AFF1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#6B9DFC
Tritanopia (blue-blind)
#9EA0B8
Achromatopsia (no color)
#9F9F9F

Tokens de diseño y código

CSS
--color: #af8aff;
/* rgb */ color: rgb(175, 138, 255);
/* oklch */ color: oklch(71.7% 0.168 296.5);
Tailwind
colors: {
  custom: {
    50: '#caadff',
    500: '#af8aff',
    950: '#000000',
  },
}
SCSS
$custom: #af8aff;
$custom-light: #caadff;
$custom-dark: #000000;
JSON
{
  "hex": "#af8aff",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 258.974,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71703,
    "c": 0.16783,
    "h": 296.5
  },
  "luminance": 0.34511
}

Semantic roles & 50–950 ramp

primary
#AF8AFF
secondary
#ECF7D4
accent
#E6009D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Laboratorio de vista previa

Vista previa con #AF8AFF

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

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

#AF8AFF — Tintiva