#8A1B8A#8A1B8A

#8A1B8A es un color medio y vivo de la familia purple. Luminancia relativa 0.080; OKLCH L 45.6% C 0.188 H 328.1°. El mejor color de texto es #FFFFFF con contraste 8.06:1 (cumple WCAG AA).

Valores del color

HEX#8A1B8A
RGBrgb(138, 27, 138)
HSLhsl(300, 67%, 32%)
HSVhsv(300, 80%, 54%)
CMYKcmyk(0%, 80.4%, 0%, 45.9%)
CIE-LABlab(34.03, 57.29, -35.84)
CIE-LCHlch(34.03, 67.57, 327.97°)
OKLaboklab(45.64% 0.1599 -0.0994)
OKLCHoklch(45.64% 0.188 328.1)
XYZxyz(15.4604, 8.0233, 24.7742)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#8A1B8A #1B8A1B
analogous
#531B8A #8A1B8A #8A1B53
triadic
#8A1B8A #8A8A1B #1B8A8A
tetradic
#8A1B8A #8A531B #1B8A1B #1B538A
square
#8A1B8A #8A531B #1B8A1B #1B538A
split-complementary
#8A1B8A #538A1B #1B8A53
monochromatic
#240724 #571157 #8A1B8A #BD25BD #DB45DB

Accesibilidad y contraste

On white

8.06
#8A1B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A1B8A on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #8A1B8A
8.06:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##8A1B8A#FFFFFF#000000##FFFFFF
##8A1B8A1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#3C5587
Tritanopia (blue-blind)
#8F2E53
Achromatopsia (no color)
#505050

Tokens de diseño y código

CSS
--color: #8a1b8a;
/* rgb */ color: rgb(138, 27, 138);
/* oklch */ color: oklch(45.6% 0.188 328.1);
Tailwind
colors: {
  custom: {
    50: '#b066ad',
    500: '#8a1b8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b8a;
$custom-light: #b066ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b8a",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.18832,
    "h": 328.1
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#8A1B8A
secondary
#45BC45
accent
#EA3E3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Laboratorio de vista previa

Vista previa con #8A1B8A

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

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

#8A1B8A — Tintiva