#BA7ACC#BA7ACC

#BA7ACC es un color claro y vivo de la familia purple. Luminancia relativa 0.287; OKLCH L 67.5% C 0.136 H 318.6°. El mejor color de texto es #000000 con contraste 6.74:1 (cumple WCAG AA).

Valores del color

HEX#BA7ACC
RGBrgb(186, 122, 204)
HSLhsl(287, 45%, 64%)
HSVhsv(287, 40%, 80%)
CMYKcmyk(8.8%, 40.2%, 0%, 20%)
CIE-LABlab(60.53, 38.80, -32.61)
CIE-LCHlch(60.53, 50.69, 319.96°)
OKLaboklab(67.55% 0.1018 -0.0897)
OKLCHoklch(67.55% 0.136 318.6)
XYZxyz(38.1068, 28.7189, 60.6510)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA7ACC #8CCC7A
analogous
#917ACC #BA7ACC #CC7AB5
triadic
#BA7ACC #CCBA7A #7ACCBA
tetradic
#BA7ACC #CC917A #8CCC7A #7AB5CC
square
#BA7ACC #CC917A #8CCC7A #7AB5CC
split-complementary
#BA7ACC #B5CC7A #7ACC91
monochromatic
#7F3893 #A34EBB #BA7ACC #D1A6DD #E8D2EE

Accesibilidad y contraste

On white

3.11
#BA7ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#BA7ACC on #000000
AA ✓AA large ✓AAA ✗

Mejor color de texto

#000000 on #BA7ACC
6.74:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA7ACC#FFFFFF#000000##000000
##BA7ACC1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#6E8ECF
Deuteranopia (green-blind)
#7E94CA
Tritanopia (blue-blind)
#BA8499
Achromatopsia (no color)
#929292

Tokens de diseño y código

CSS
--color: #ba7acc;
/* rgb */ color: rgb(186, 122, 204);
/* oklch */ color: oklch(67.5% 0.136 318.6);
Tailwind
colors: {
  custom: {
    50: '#d0a2dc',
    500: '#ba7acc',
    950: '#000000',
  },
}
SCSS
$custom: #ba7acc;
$custom-light: #d0a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7acc",
  "rgb": {
    "r": 186,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 286.829,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67548,
    "c": 0.1357,
    "h": 318.6
  },
  "luminance": 0.28718
}

Semantic roles & 50–950 ramp

primary
#BA7ACC
secondary
#C9DFC3
accent
#B82E4C
background
#FCFAFD
surface
#F9F3FB
border
#D2CDD4
text
#140F15
muted
#827F83

Laboratorio de vista previa

Vista previa con #BA7ACC

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

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

#BA7ACC — Tintiva