#A040B4#A040B4

#A040B4 es un color medio y vivo de la familia purple. Luminancia relativa 0.144; OKLCH L 54.9% C 0.191 H 320.3°. El mejor color de texto es #FFFFFF con contraste 5.40:1 (cumple WCAG AA).

Valores del color

HEX#A040B4
RGBrgb(160, 64, 180)
HSLhsl(290, 48%, 48%)
HSVhsv(290, 64%, 71%)
CMYKcmyk(11.1%, 64.4%, 0%, 29.4%)
CIE-LABlab(44.85, 56.21, -43.68)
CIE-LCHlch(44.85, 71.19, 322.14°)
OKLaboklab(54.88% 0.147 -0.1219)
OKLCHoklch(54.88% 0.191 320.3)
XYZxyz(24.5678, 14.4368, 44.6637)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#A040B4 #54B440
analogous
#6640B4 #A040B4 #B4408E
triadic
#A040B4 #B4A040 #40B4A0
tetradic
#A040B4 #B46640 #54B440 #408EB4
square
#A040B4 #B46640 #54B440 #408EB4
split-complementary
#A040B4 #8EB440 #40B466
monochromatic
#50205A #783087 #A040B4 #B868C9 #CE95D9

Accesibilidad y contraste

On white

5.40
#A040B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A040B4 on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #A040B4
5.40:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##A040B4#FFFFFF#000000##FFFFFF
##A040B41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#1F63B7
Deuteranopia (green-blind)
#4A6EB1
Tritanopia (blue-blind)
#A15374
Achromatopsia (no color)
#6A6A6A

Tokens de diseño y código

CSS
--color: #a040b4;
/* rgb */ color: rgb(160, 64, 180);
/* oklch */ color: oklch(54.9% 0.191 320.3);
Tailwind
colors: {
  custom: {
    50: '#bf7ccb',
    500: '#a040b4',
    950: '#000000',
  },
}
SCSS
$custom: #a040b4;
$custom-light: #bf7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#a040b4",
  "rgb": {
    "r": 160,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 289.655,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.19102,
    "h": 320.3
  },
  "luminance": 0.14436
}

Semantic roles & 50–950 ramp

primary
#A040B4
secondary
#95C58B
accent
#D75168
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Laboratorio de vista previa

Vista previa con #A040B4

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

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

#A040B4 — Tintiva