#BA7EF4#BA7EF4

#BA7EF4 es un color claro y vivo de la familia violeta. Luminancia relativa 0.319; OKLCH L 70.2% C 0.175 H 305.9°. El mejor color de texto es #000000 con contraste 7.38:1 (cumple WCAG AA).

Valores del color

HEX#BA7EF4
RGBrgb(186, 126, 244)
HSLhsl(271, 84%, 73%)
HSVhsv(271, 48%, 96%)
CMYKcmyk(23.8%, 48.4%, 0%, 4.3%)
CIE-LABlab(63.25, 45.28, -50.64)
CIE-LCHlch(63.25, 67.93, 311.80°)
OKLaboklab(70.19% 0.1025 -0.1418)
OKLCHoklch(70.19% 0.175 305.9)
XYZxyz(44.0363, 31.8928, 89.4064)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA7EF4 #B8F47E
analogous
#7F7EF4 #BA7EF4 #F47EF3
triadic
#BA7EF4 #F4BA7E #7EF4BA
tetradic
#BA7EF4 #F47F7E #B8F47E #7EF3F4
square
#BA7EF4 #F47F7E #B8F47E #7EF3F4
split-complementary
#BA7EF4 #F3F47E #7EF47F
monochromatic
#7E13E4 #9C46EF #BA7EF4 #D8B6F9 #F0E3FD

Accesibilidad y contraste

On white

2.85
#BA7EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#BA7EF4 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #BA7EF4
7.38:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA7EF4#FFFFFF#000000##000000
##BA7EF41.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#5D97F8
Deuteranopia (green-blind)
#6D99F1
Tritanopia (blue-blind)
#B192AE
Achromatopsia (no color)
#999999

Tokens de diseño y código

CSS
--color: #ba7ef4;
/* rgb */ color: rgb(186, 126, 244);
/* oklch */ color: oklch(70.2% 0.175 305.9);
Tailwind
colors: {
  custom: {
    50: '#d1a5f8',
    500: '#ba7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #ba7ef4;
$custom-light: #d1a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7ef4",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 270.508,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70192,
    "c": 0.17501,
    "h": 305.9
  },
  "luminance": 0.31892
}

Semantic roles & 50–950 ramp

primary
#BA7EF4
secondary
#E5F5D6
accent
#E10571
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Laboratorio de vista previa

Vista previa con #BA7EF4

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

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

#BA7EF4 — Tintiva