#BA2EB4#BA2EB4

#BA2EB4 es un color medio y muy saturado de la familia purple. Luminancia relativa 0.157; OKLCH L 56.9% C 0.225 H 330.0°. El mejor color de texto es #FFFFFF con contraste 5.08:1 (cumple WCAG AA).

Valores del color

HEX#BA2EB4
RGBrgb(186, 46, 180)
HSLhsl(303, 60%, 45%)
HSVhsv(303, 75%, 73%)
CMYKcmyk(0%, 75.3%, 3.2%, 27.1%)
CIE-LABlab(46.57, 68.71, -40.71)
CIE-LCHlch(46.57, 79.87, 329.35°)
OKLaboklab(56.91% 0.1945 -0.1125)
OKLCHoklch(56.91% 0.225 330)
XYZxyz(29.4648, 15.6907, 44.6479)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA2EB4 #2EBA34
analogous
#7A2EBA #BA2EB4 #BA2E6E
triadic
#BA2EB4 #B4BA2E #2EB4BA
tetradic
#BA2EB4 #BA7A2E #2EBA34 #2E6EBA
square
#BA2EB4 #BA7A2E #2EBA34 #2E6EBA
split-complementary
#BA2EB4 #6EBA2E #2EBA7A
monochromatic
#581655 #892285 #BA2EB4 #D451CE #E082DC

Accesibilidad y contraste

On white

5.08
#BA2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BA2EB4 on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #BA2EB4
5.08:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA2EB4#FFFFFF#000000##FFFFFF
##BA2EB41.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#1A62B8
Deuteranopia (green-blind)
#5975B1
Tritanopia (blue-blind)
#C1426F
Achromatopsia (no color)
#6E6E6E

Tokens de diseño y código

CSS
--color: #ba2eb4;
/* rgb */ color: rgb(186, 46, 180);
/* oklch */ color: oklch(56.9% 0.225 330.0);
Tailwind
colors: {
  custom: {
    50: '#d376cb',
    500: '#ba2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #ba2eb4;
$custom-light: #d376cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2eb4",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 302.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.22466,
    "h": 330
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#BA2EB4
secondary
#7BC97E
accent
#E34B44
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Laboratorio de vista previa

Vista previa con #BA2EB4

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

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

#BA2EB4 — Tintiva