#8A78B7#8A78B7

#8A78B7 es un color medio y moderadamente saturado de la familia violeta. Luminancia relativa 0.223; OKLCH L 61.4% C 0.095 H 296.6°. El mejor color de texto es #000000 con contraste 5.45:1 (cumple WCAG AA).

Valores del color

HEX#8A78B7
RGBrgb(138, 120, 183)
HSLhsl(257, 30%, 59%)
HSVhsv(257, 34%, 72%)
CMYKcmyk(24.6%, 34.4%, 0%, 28.2%)
CIE-LABlab(54.30, 20.50, -30.73)
CIE-LCHlch(54.30, 36.94, 303.71°)
OKLaboklab(61.4% 0.0427 -0.0852)
OKLCHoklch(61.4% 0.095 296.6)
XYZxyz(25.7430, 22.2549, 47.7299)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#8A78B7 #A5B778
analogous
#7886B7 #8A78B7 #AA78B7
triadic
#8A78B7 #B78A78 #78B78A
tetradic
#8A78B7 #B77886 #A5B778 #78B7AA
square
#8A78B7 #B77886 #A5B778 #78B7AA
split-complementary
#8A78B7 #B7AA78 #86B778
monochromatic
#4F3F76 #69549E #8A78B7 #ADA0CC #CFC8E2

Accesibilidad y contraste

On white

3.85
#8A78B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A78B7 on #000000
AA ✓AA large ✓AAA ✗

Mejor color de texto

#000000 on #8A78B7
5.45:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##8A78B7#FFFFFF#000000##000000
##8A78B71.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#6882BA
Deuteranopia (green-blind)
#6B81B5
Tritanopia (blue-blind)
#81828F
Achromatopsia (no color)
#828282

Tokens de diseño y código

CSS
--color: #8a78b7;
/* rgb */ color: rgb(138, 120, 183);
/* oklch */ color: oklch(61.4% 0.095 296.6);
Tailwind
colors: {
  custom: {
    50: '#ad9fcd',
    500: '#8a78b7',
    950: '#000000',
  },
}
SCSS
$custom: #8a78b7;
$custom-light: #ad9fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a78b7",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 183
  },
  "hsl": {
    "h": 257.143,
    "s": 30.435,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.09534,
    "h": 296.6
  },
  "luminance": 0.22255
}

Semantic roles & 50–950 ramp

primary
#8A78B7
secondary
#CBD2B9
accent
#C761AA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E13
muted
#7F7E82

Laboratorio de vista previa

Vista previa con #8A78B7

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

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

#8A78B7 — Tintiva