#BA98CC#BA98CC

#BA98CC es un color claro y moderadamente saturado de la familia violeta. Luminancia relativa 0.373; OKLCH L 72.8% C 0.083 H 313.7°. El mejor color de texto es #000000 con contraste 8.45:1 (cumple WCAG AA).

Valores del color

HEX#BA98CC
RGBrgb(186, 152, 204)
HSLhsl(279, 34%, 70%)
HSVhsv(279, 25%, 80%)
CMYKcmyk(8.8%, 25.5%, 0%, 20%)
CIE-LABlab(67.47, 22.19, -21.93)
CIE-LCHlch(67.47, 31.20, 315.35°)
OKLaboklab(72.82% 0.0571 -0.0596)
OKLCHoklch(72.82% 0.083 313.7)
XYZxyz(42.3753, 37.2558, 62.0738)
Luminance0.3725 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA98CC #AACC98
analogous
#A098CC #BA98CC #CC98C4
triadic
#BA98CC #CCBA98 #98CCBA
tetradic
#BA98CC #CCA098 #AACC98 #98C4CC
square
#BA98CC #CCA098 #AACC98 #98C4CC
split-complementary
#BA98CC #C4CC98 #98CCA0
monochromatic
#814D9C #9F6FB8 #BA98CC #D5C1E0 #F1EAF5

Accesibilidad y contraste

On white

2.48
#BA98CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#BA98CC on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #BA98CC
8.45:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA98CC#FFFFFF#000000##000000
##BA98CC1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#91A2CE
Deuteranopia (green-blind)
#98A5CA
Tritanopia (blue-blind)
#B99EAA
Achromatopsia (no color)
#A4A4A4

Tokens de diseño y código

CSS
--color: #ba98cc;
/* rgb */ color: rgb(186, 152, 204);
/* oklch */ color: oklch(72.8% 0.083 313.7);
Tailwind
colors: {
  custom: {
    50: '#cfb6db',
    500: '#ba98cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba98cc;
$custom-light: #cfb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba98cc",
  "rgb": {
    "r": 186,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 279.231,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7282,
    "c": 0.08256,
    "h": 313.7
  },
  "luminance": 0.37255
}

Semantic roles & 50–950 ramp

primary
#BA98CC
secondary
#DEE7D9
accent
#AD3961
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Laboratorio de vista previa

Vista previa con #BA98CC

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

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

#BA98CC — Tintiva