#BA8BE2#BA8BE2

#BA8BE2 es un color claro y vivo de la familia violeta. Luminancia relativa 0.344; OKLCH L 71.4% C 0.132 H 308.2°. El mejor color de texto es #000000 con contraste 7.88:1 (cumple WCAG AA).

Valores del color

HEX#BA8BE2
RGBrgb(186, 139, 226)
HSLhsl(272, 60%, 72%)
HSVhsv(272, 38%, 89%)
CMYKcmyk(17.7%, 38.5%, 0%, 11.4%)
CIE-LABlab(65.28, 34.13, -37.51)
CIE-LCHlch(65.28, 50.71, 312.29°)
OKLaboklab(71.43% 0.0817 -0.1039)
OKLCHoklch(71.43% 0.132 308.2)
XYZxyz(43.2072, 34.3958, 76.2996)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA8BE2 #B3E28B
analogous
#8F8BE2 #BA8BE2 #E28BDF
triadic
#BA8BE2 #E2BA8B #8BE2BA
tetradic
#BA8BE2 #E28F8B #B3E28B #8BDFE2
square
#BA8BE2 #E28F8B #B3E28B #8BDFE2
split-complementary
#BA8BE2 #DFE28B #8BE28F
monochromatic
#7F31C2 #9D5AD6 #BA8BE2 #D7BCEE #F0E7F9

Accesibilidad y contraste

On white

2.67
#BA8BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#BA8BE2 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #BA8BE2
7.88:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA8BE2#FFFFFF#000000##000000
##BA8BE21.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#799CE5
Deuteranopia (green-blind)
#849FE0
Tritanopia (blue-blind)
#B598AC
Achromatopsia (no color)
#9E9E9E

Tokens de diseño y código

CSS
--color: #ba8be2;
/* rgb */ color: rgb(186, 139, 226);
/* oklch */ color: oklch(71.4% 0.132 308.2);
Tailwind
colors: {
  custom: {
    50: '#d0adeb',
    500: '#ba8be2',
    950: '#000000',
  },
}
SCSS
$custom: #ba8be2;
$custom-light: #d0adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8be2",
  "rgb": {
    "r": 186,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 272.414,
    "s": 60,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71434,
    "c": 0.13217,
    "h": 308.2
  },
  "luminance": 0.34395
}

Semantic roles & 50–950 ramp

primary
#BA8BE2
secondary
#E4F0D9
accent
#C81E6C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Laboratorio de vista previa

Vista previa con #BA8BE2

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

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

#BA8BE2 — Tintiva