#BA8FEB#BA8FEB

#BA8FEB es un color claro y vivo de la familia violeta. Luminancia relativa 0.361; OKLCH L 72.6% C 0.137 H 304.7°. El mejor color de texto es #000000 con contraste 8.22:1 (cumple WCAG AA).

Valores del color

HEX#BA8FEB
RGBrgb(186, 143, 235)
HSLhsl(268, 70%, 74%)
HSVhsv(268, 39%, 92%)
CMYKcmyk(20.9%, 39.1%, 0%, 7.8%)
CIE-LABlab(66.58, 33.92, -40.44)
CIE-LCHlch(66.58, 52.78, 309.99°)
OKLaboklab(72.55% 0.0779 -0.1123)
OKLCHoklch(72.55% 0.137 304.7)
XYZxyz(45.0645, 36.0824, 83.1717)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA8FEB #C0EB8F
analogous
#8F92EB #BA8FEB #E88FEB
triadic
#BA8FEB #EBBA8F #8FEBBA
tetradic
#BA8FEB #EB8F92 #C0EB8F #8FEBE8
square
#BA8FEB #EB8F92 #C0EB8F #8FEBE8
split-complementary
#BA8FEB #EBE88F #92EB8F
monochromatic
#7A27D8 #9A5BE2 #BA8FEB #DAC3F4 #EFE5FA

Accesibilidad y contraste

On white

2.56
#BA8FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#BA8FEB on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #BA8FEB
8.22:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA8FEB#FFFFFF#000000##000000
##BA8FEB1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#7AA1EE
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#B29EB2
Achromatopsia (no color)
#A2A2A2

Tokens de diseño y código

CSS
--color: #ba8feb;
/* rgb */ color: rgb(186, 143, 235);
/* oklch */ color: oklch(72.6% 0.137 304.7);
Tailwind
colors: {
  custom: {
    50: '#d0b0f2',
    500: '#ba8feb',
    950: '#000000',
  },
}
SCSS
$custom: #ba8feb;
$custom-light: #d0b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8feb",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 268.043,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72552,
    "c": 0.13668,
    "h": 304.7
  },
  "luminance": 0.36082
}

Semantic roles & 50–950 ramp

primary
#BA8FEB
secondary
#E6F2D9
accent
#D21479
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141017
muted
#827F85

Laboratorio de vista previa

Vista previa con #BA8FEB

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

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

#BA8FEB — Tintiva