#BA20BD#BA20BD

#BA20BD es un color medio y muy saturado de la familia purple. Luminancia relativa 0.151; OKLCH L 56.6% C 0.243 H 327.3°. El mejor color de texto es #FFFFFF con contraste 5.21:1 (cumple WCAG AA).

Valores del color

HEX#BA20BD
RGBrgb(186, 32, 189)
HSLhsl(299, 71%, 43%)
HSVhsv(299, 83%, 74%)
CMYKcmyk(1.6%, 83.1%, 0%, 25.9%)
CIE-LABlab(45.84, 73.71, -47.15)
CIE-LCHlch(45.84, 87.50, 327.39°)
OKLaboklab(56.56% 0.2044 -0.1311)
OKLCHoklch(56.56% 0.243 327.3)
XYZxyz(29.9511, 15.1485, 49.4807)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA20BD #23BD20
analogous
#6C20BD #BA20BD #BD2071
triadic
#BA20BD #BDBA20 #20BDBA
tetradic
#BA20BD #BD6C20 #23BD20 #2071BD
square
#BA20BD #BD6C20 #23BD20 #2071BD
split-complementary
#BA20BD #71BD20 #20BD6C
monochromatic
#530E54 #861789 #BA20BD #DB3CDE #E571E7

Accesibilidad y contraste

On white

5.21
#BA20BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA20BD on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #BA20BD
5.21:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA20BD#FFFFFF#000000##FFFFFF
##BA20BD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#C03F72
Achromatopsia (no color)
#6D6D6D

Tokens de diseño y código

CSS
--color: #ba20bd;
/* rgb */ color: rgb(186, 32, 189);
/* oklch */ color: oklch(56.6% 0.243 327.3);
Tailwind
colors: {
  custom: {
    50: '#d372d1',
    500: '#ba20bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba20bd;
$custom-light: #d372d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba20bd",
  "rgb": {
    "r": 186,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 298.854,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.24281,
    "h": 327.3
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#BA20BD
secondary
#6DCD6B
accent
#EE3A3D
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150914
muted
#837B82

Laboratorio de vista previa

Vista previa con #BA20BD

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

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

#BA20BD — Tintiva