#BA7BE2#BA7BE2

#BA7BE2 es un color claro y vivo de la familia violeta. Luminancia relativa 0.301; OKLCH L 68.8% C 0.159 H 311.0°. El mejor color de texto es #000000 con contraste 7.02:1 (cumple WCAG AA).

Valores del color

HEX#BA7BE2
RGBrgb(186, 123, 226)
HSLhsl(277, 64%, 68%)
HSVhsv(277, 46%, 89%)
CMYKcmyk(17.7%, 45.6%, 0%, 11.4%)
CIE-LABlab(61.74, 42.89, -43.06)
CIE-LCHlch(61.74, 60.77, 314.89°)
OKLaboklab(68.77% 0.1043 -0.1198)
OKLCHoklch(68.77% 0.159 311)
XYZxyz(41.0577, 30.0967, 75.5831)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA7BE2 #A3E27B
analogous
#867BE2 #BA7BE2 #E27BD6
triadic
#BA7BE2 #E2BA7B #7BE2BA
tetradic
#BA7BE2 #E2867B #A3E27B #7BD6E2
square
#BA7BE2 #E2867B #A3E27B #7BD6E2
split-complementary
#BA7BE2 #D6E27B #7BE286
monochromatic
#8129BA #A049D7 #BA7BE2 #D4ADED #EEDFF8

Accesibilidad y contraste

On white

2.99
#BA7BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#BA7BE2 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #BA7BE2
7.02:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA7BE2#FFFFFF#000000##000000
##BA7BE21.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#7596DF
Tritanopia (blue-blind)
#B68BA4
Achromatopsia (no color)
#959595

Tokens de diseño y código

CSS
--color: #ba7be2;
/* rgb */ color: rgb(186, 123, 226);
/* oklch */ color: oklch(68.8% 0.159 311.0);
Tailwind
colors: {
  custom: {
    50: '#d0a2eb',
    500: '#ba7be2',
    950: '#000000',
  },
}
SCSS
$custom: #ba7be2;
$custom-light: #d0a2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7be2",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 276.699,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68774,
    "c": 0.15883,
    "h": 311
  },
  "luminance": 0.30096
}

Semantic roles & 50–950 ramp

primary
#BA7BE2
secondary
#D9ECCD
accent
#CC1A5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Laboratorio de vista previa

Vista previa con #BA7BE2

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

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

#BA7BE2 — Tintiva