#BA6EB2#BA6EB2

#BA6EB2 es un color claro y vivo de la familia purple. Luminancia relativa 0.248; OKLCH L 64.5% C 0.130 H 330.8°. El mejor color de texto es #000000 con contraste 5.96:1 (cumple WCAG AA).

Valores del color

HEX#BA6EB2
RGBrgb(186, 110, 178)
HSLhsl(306, 36%, 58%)
HSVhsv(306, 41%, 73%)
CMYKcmyk(0%, 40.9%, 4.3%, 27.1%)
CIE-LABlab(56.89, 40.28, -23.44)
CIE-LCHlch(56.89, 46.61, 329.81°)
OKLaboklab(64.46% 0.1139 -0.0635)
OKLCHoklch(64.46% 0.13 330.8)
XYZxyz(33.8611, 24.8070, 45.1155)
Luminance0.2480 (WCAG relative)
Temperatureneutral
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA6EB2 #6EBA76
analogous
#9C6EBA #BA6EB2 #BA6E8C
triadic
#BA6EB2 #B2BA6E #6EB2BA
tetradic
#BA6EB2 #BA9C6E #6EBA76 #6E8CBA
square
#BA6EB2 #BA9C6E #6EBA76 #6E8CBA
split-complementary
#BA6EB2 #8CBA6E #6EBA9C
monochromatic
#76386F #9F4C96 #BA6EB2 #CE97C8 #E1C1DE

Accesibilidad y contraste

On white

3.52
#BA6EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#BA6EB2 on #000000
AA ✓AA large ✓AAA ✗

Mejor color de texto

#000000 on #BA6EB2
5.96:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA6EB2#FFFFFF#000000##000000
##BA6EB21.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#6B82B4
Deuteranopia (green-blind)
#7F8CB0
Tritanopia (blue-blind)
#C07388
Achromatopsia (no color)
#888888

Tokens de diseño y código

CSS
--color: #ba6eb2;
/* rgb */ color: rgb(186, 110, 178);
/* oklch */ color: oklch(64.5% 0.130 330.8);
Tailwind
colors: {
  custom: {
    50: '#d099c9',
    500: '#ba6eb2',
    950: '#000000',
  },
}
SCSS
$custom: #ba6eb2;
$custom-light: #d099c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6eb2",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 178
  },
  "hsl": {
    "h": 306.316,
    "s": 35.514,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64458,
    "c": 0.13044,
    "h": 330.8
  },
  "luminance": 0.24805
}

Semantic roles & 50–950 ramp

primary
#BA6EB2
secondary
#B3D1B6
accent
#CC685C
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140E13
muted
#827E82

Laboratorio de vista previa

Vista previa con #BA6EB2

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

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

#BA6EB2 — Tintiva