#BA7EB2#BA7EB2

#BA7EB2 es un color claro y moderadamente saturado de la familia purple. Luminancia relativa 0.286; OKLCH L 67.1% C 0.102 H 331.4°. El mejor color de texto es #000000 con contraste 6.72:1 (cumple WCAG AA).

Valores del color

HEX#BA7EB2
RGBrgb(186, 126, 178)
HSLhsl(308, 30%, 61%)
HSVhsv(308, 32%, 73%)
CMYKcmyk(0%, 32.3%, 4.3%, 27.1%)
CIE-LABlab(60.41, 31.57, -18.06)
CIE-LCHlch(60.41, 36.37, 330.23°)
OKLaboklab(67.12% 0.0892 -0.0486)
OKLCHoklch(67.12% 0.102 331.4)
XYZxyz(35.7459, 28.5766, 45.7438)
Luminance0.2858 (WCAG relative)
Temperatureneutral
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA7EB2 #7EBA86
analogous
#A47EBA #BA7EB2 #BA7E94
triadic
#BA7EB2 #B2BA7E #7EB2BA
tetradic
#BA7EB2 #BAA47E #7EBA86 #7E94BA
square
#BA7EB2 #BAA47E #7EBA86 #7E94BA
split-complementary
#BA7EB2 #94BA7E #7EBAA4
monochromatic
#7C4274 #A35799 #BA7EB2 #CFA6CA #E5CEE2

Accesibilidad y contraste

On white

3.13
#BA7EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#BA7EB2 on #000000
AA ✓AA large ✓AAA ✗

Mejor color de texto

#000000 on #BA7EB2
6.72:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA7EB2#FFFFFF#000000##000000
##BA7EB21.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#7C8DB4
Deuteranopia (green-blind)
#8B95B0
Tritanopia (blue-blind)
#BF8291
Achromatopsia (no color)
#929292

Tokens de diseño y código

CSS
--color: #ba7eb2;
/* rgb */ color: rgb(186, 126, 178);
/* oklch */ color: oklch(67.1% 0.102 331.4);
Tailwind
colors: {
  custom: {
    50: '#cfa4c9',
    500: '#ba7eb2',
    950: '#000000',
  },
}
SCSS
$custom: #ba7eb2;
$custom-light: #cfa4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7eb2",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 308,
    "s": 30.303,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67117,
    "c": 0.10161,
    "h": 331.4
  },
  "luminance": 0.28575
}

Semantic roles & 50–950 ramp

primary
#BA7EB2
secondary
#BFD5C2
accent
#A94B3D
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#140F13
muted
#827F82

Laboratorio de vista previa

Vista previa con #BA7EB2

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

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

#BA7EB2 — Tintiva