#BA87C8#BA87C8

#BA87C8 es un color claro y moderadamente saturado de la familia purple. Luminancia relativa 0.319; OKLCH L 69.6% C 0.108 H 318.9°. El mejor color de texto es #000000 con contraste 7.39:1 (cumple WCAG AA).

Valores del color

HEX#BA87C8
RGBrgb(186, 135, 200)
HSLhsl(287, 37%, 66%)
HSVhsv(287, 33%, 78%)
CMYKcmyk(7%, 32.5%, 0%, 21.6%)
CIE-LABlab(63.29, 30.84, -26.09)
CIE-LCHlch(63.29, 40.39, 319.77°)
OKLaboklab(69.58% 0.0815 -0.0712)
OKLCHoklch(69.58% 0.108 318.9)
XYZxyz(39.3376, 31.9382, 58.7248)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA87C8 #95C887
analogous
#9987C8 #BA87C8 #C887B5
triadic
#BA87C8 #C8BA87 #87C8BA
tetradic
#BA87C8 #C89987 #95C887 #87B5C8
square
#BA87C8 #C89987 #95C887 #87B5C8
split-complementary
#BA87C8 #B5C887 #87C899
monochromatic
#814392 #A25DB5 #BA87C8 #D2B1DB #EADBEE

Accesibilidad y contraste

On white

2.84
#BA87C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#BA87C8 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #BA87C8
7.39:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA87C8#FFFFFF#000000##000000
##BA87C81.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#7F96CB
Deuteranopia (green-blind)
#8B9BC6
Tritanopia (blue-blind)
#BB8E9F
Achromatopsia (no color)
#999999

Tokens de diseño y código

CSS
--color: #ba87c8;
/* rgb */ color: rgb(186, 135, 200);
/* oklch */ color: oklch(69.6% 0.108 318.9);
Tailwind
colors: {
  custom: {
    50: '#cfaad9',
    500: '#ba87c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba87c8;
$custom-light: #cfaad9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba87c8",
  "rgb": {
    "r": 186,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 287.077,
    "s": 37.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6958,
    "c": 0.10827,
    "h": 318.9
  },
  "luminance": 0.31937
}

Semantic roles & 50–950 ramp

primary
#BA87C8
secondary
#CFE0CB
accent
#B03550
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141014
muted
#827F83

Laboratorio de vista previa

Vista previa con #BA87C8

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

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

#BA87C8 — Tintiva