#8A5FAB#8A5FAB

#8A5FAB es un color medio y vivo de la familia violeta. Luminancia relativa 0.165; OKLCH L 56.2% C 0.122 H 309.0°. El mejor color de texto es #FFFFFF con contraste 4.88:1 (cumple WCAG AA).

Valores del color

HEX#8A5FAB
RGBrgb(138, 95, 171)
HSLhsl(274, 31%, 52%)
HSVhsv(274, 44%, 67%)
CMYKcmyk(19.3%, 44.4%, 0%, 32.9%)
CIE-LABlab(47.66, 32.24, -34.14)
CIE-LCHlch(47.66, 46.96, 313.36°)
OKLaboklab(56.19% 0.077 -0.095)
OKLCHoklch(56.19% 0.122 309)
XYZxyz(21.9227, 16.5283, 40.5556)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#8A5FAB #80AB5F
analogous
#645FAB #8A5FAB #AB5FA6
triadic
#8A5FAB #AB8A5F #5FAB8A
tetradic
#8A5FAB #AB645F #80AB5F #5FA6AB
square
#8A5FAB #AB645F #80AB5F #5FA6AB
split-complementary
#8A5FAB #A6AB5F #5FAB64
monochromatic
#4B315E #6B4786 #8A5FAB #A787C0 #C5AFD5

Accesibilidad y contraste

On white

4.88
#8A5FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8A5FAB on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #8A5FAB
4.88:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##8A5FAB#FFFFFF#000000##FFFFFF
##8A5FAB1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#4E6FAE
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#866B7D
Achromatopsia (no color)
#717171

Tokens de diseño y código

CSS
--color: #8a5fab;
/* rgb */ color: rgb(138, 95, 171);
/* oklch */ color: oklch(56.2% 0.122 309.0);
Tailwind
colors: {
  custom: {
    50: '#ae8dc4',
    500: '#8a5fab',
    950: '#000000',
  },
}
SCSS
$custom: #8a5fab;
$custom-light: #ae8dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5fab",
  "rgb": {
    "r": 138,
    "g": 95,
    "b": 171
  },
  "hsl": {
    "h": 273.947,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56193,
    "c": 0.12225,
    "h": 309
  },
  "luminance": 0.16528
}

Semantic roles & 50–950 ramp

primary
#8A5FAB
secondary
#B1C3A2
accent
#C7608D
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C12
muted
#7F7D81

Laboratorio de vista previa

Vista previa con #8A5FAB

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

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

#8A5FAB — Tintiva