#BA9EFB#BA9EFB

#BA9EFB es un color claro y vivo de la familia violeta. Luminancia relativa 0.419; OKLCH L 76.0% C 0.133 H 297.0°. El mejor color de texto es #000000 con contraste 9.37:1 (cumple WCAG AA).

Valores del color

HEX#BA9EFB
RGBrgb(186, 158, 251)
HSLhsl(258, 92%, 80%)
HSVhsv(258, 37%, 98%)
CMYKcmyk(25.9%, 37.1%, 0%, 1.6%)
CIE-LABlab(70.77, 29.30, -42.64)
CIE-LCHlch(70.77, 51.73, 304.50°)
OKLaboklab(75.96% 0.0604 -0.1187)
OKLCHoklch(75.96% 0.133 297)
XYZxyz(49.8851, 41.8574, 96.6992)
Luminance0.4186 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA9EFB #DFFB9E
analogous
#9EB0FB #BA9EFB #E99EFB
triadic
#BA9EFB #FBBA9E #9EFBBA
tetradic
#BA9EFB #FB9EB0 #DFFB9E #9EFBE9
square
#BA9EFB #FB9EB0 #DFFB9E #9EFBE9
split-complementary
#BA9EFB #FBE99E #B0FB9E
monochromatic
#6628F6 #9063F9 #BA9EFB #E4D9FD #EAE2FE

Accesibilidad y contraste

On white

2.24
#BA9EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#BA9EFB on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #BA9EFB
9.37:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA9EFB#FFFFFF#000000##000000
##BA9EFB1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#8AACF9
Tritanopia (blue-blind)
#ADAEC1
Achromatopsia (no color)
#ADADAD

Tokens de diseño y código

CSS
--color: #ba9efb;
/* rgb */ color: rgb(186, 158, 251);
/* oklch */ color: oklch(76.0% 0.133 297.0);
Tailwind
colors: {
  custom: {
    50: '#d0bbfd',
    500: '#ba9efb',
    950: '#000000',
  },
}
SCSS
$custom: #ba9efb;
$custom-light: #d0bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9efb",
  "rgb": {
    "r": 186,
    "g": 158,
    "b": 251
  },
  "hsl": {
    "h": 258.065,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75961,
    "c": 0.13319,
    "h": 297
  },
  "luminance": 0.41858
}

Semantic roles & 50–950 ramp

primary
#BA9EFB
secondary
#ECF6D5
accent
#E600A0
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Laboratorio de vista previa

Vista previa con #BA9EFB

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

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

#BA9EFB — Tintiva