#B997DC#B997DC

#B997DC es un color claro y moderadamente saturado de la familia violeta. Luminancia relativa 0.376; OKLCH L 73.2% C 0.104 H 306.5°. El mejor color de texto es #000000 con contraste 8.52:1 (cumple WCAG AA).

Valores del color

HEX#B997DC
RGBrgb(185, 151, 220)
HSLhsl(270, 50%, 73%)
HSVhsv(270, 31%, 86%)
CMYKcmyk(15.9%, 31.4%, 0%, 13.7%)
CIE-LABlab(67.74, 25.83, -30.38)
CIE-LCHlch(67.74, 39.88, 310.37°)
OKLaboklab(73.2% 0.0619 -0.0835)
OKLCHoklch(73.2% 0.104 306.5)
XYZxyz(43.9900, 37.6151, 72.6393)
Luminance0.3761 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#B997DC #BADC97
analogous
#9798DC #B997DC #DB97DC
triadic
#B997DC #DCB997 #97DCB9
tetradic
#B997DC #DC9798 #BADC97 #97DCDB
square
#B997DC #DC9798 #BADC97 #97DCDB
split-complementary
#B997DC #DCDB97 #98DC97
monochromatic
#7B3FBA #9A69CD #B997DC #D8C5EB #F0E8F7

Accesibilidad y contraste

On white

2.46
#B997DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B997DC on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #B997DC
8.52:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##B997DC#FFFFFF#000000##000000
##B997DC1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#8AA4DF
Deuteranopia (green-blind)
#91A5DA
Tritanopia (blue-blind)
#B4A1B0
Achromatopsia (no color)
#A5A5A5

Tokens de diseño y código

CSS
--color: #b997dc;
/* rgb */ color: rgb(185, 151, 220);
/* oklch */ color: oklch(73.2% 0.104 306.5);
Tailwind
colors: {
  custom: {
    50: '#cfb6e7',
    500: '#b997dc',
    950: '#000000',
  },
}
SCSS
$custom: #b997dc;
$custom-light: #cfb6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b997dc",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 269.565,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73201,
    "c": 0.10398,
    "h": 306.5
  },
  "luminance": 0.37615
}

Semantic roles & 50–950 ramp

primary
#B997DC
secondary
#E6EEDD
accent
#BD2974
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Laboratorio de vista previa

Vista previa con #B997DC

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

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

#B997DC — Tintiva