#BA97ED#BA97ED

#BA97ED es un color claro y vivo de la familia violeta. Luminancia relativa 0.387; OKLCH L 74.1% C 0.126 H 302.1°. El mejor color de texto es #000000 con contraste 8.74:1 (cumple WCAG AA).

Valores del color

HEX#BA97ED
RGBrgb(186, 151, 237)
HSLhsl(264, 70%, 76%)
HSVhsv(264, 36%, 93%)
CMYKcmyk(21.5%, 36.3%, 0%, 7.1%)
CIE-LABlab(68.52, 29.93, -38.51)
CIE-LCHlch(68.52, 48.77, 307.86°)
OKLaboklab(74.05% 0.0671 -0.1068)
OKLCHoklch(74.05% 0.126 302.1)
XYZxyz(46.5991, 38.6867, 85.1167)
Luminance0.3869 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BA97ED #CAED97
analogous
#979FED #BA97ED #E597ED
triadic
#BA97ED #EDBA97 #97EDBA
tetradic
#BA97ED #ED979F #CAED97 #97EDE5
square
#BA97ED #ED979F #CAED97 #97EDE5
split-complementary
#BA97ED #EDE597 #9FED97
monochromatic
#752FDB #9763E4 #BA97ED #DDCBF6 #EEE5FA

Accesibilidad y contraste

On white

2.40
#BA97ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#BA97ED on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #BA97ED
8.74:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BA97ED#FFFFFF#000000##000000
##BA97ED1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#83A6F0
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#B1A5B7
Achromatopsia (no color)
#A7A7A7

Tokens de diseño y código

CSS
--color: #ba97ed;
/* rgb */ color: rgb(186, 151, 237);
/* oklch */ color: oklch(74.1% 0.126 302.1);
Tailwind
colors: {
  custom: {
    50: '#d0b6f3',
    500: '#ba97ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba97ed;
$custom-light: #d0b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba97ed",
  "rgb": {
    "r": 186,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 264.419,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74053,
    "c": 0.12612,
    "h": 302.1
  },
  "luminance": 0.38687
}

Semantic roles & 50–950 ramp

primary
#BA97ED
secondary
#E8F2D9
accent
#D31385
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Laboratorio de vista previa

Vista previa con #BA97ED

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

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

#BA97ED — Tintiva