#AB5BA2#AB5BA2

#AB5BA2 es un color medio y vivo de la familia purple. Luminancia relativa 0.187; OKLCH L 59.0% C 0.138 H 331.5°. El mejor color de texto es #000000 con contraste 4.75:1 (cumple WCAG AA).

Valores del color

HEX#AB5BA2
RGBrgb(171, 91, 162)
HSLhsl(307, 32%, 51%)
HSVhsv(307, 47%, 67%)
CMYKcmyk(0%, 46.8%, 5.3%, 32.9%)
CIE-LABlab(50.39, 42.73, -24.30)
CIE-LCHlch(50.39, 49.16, 330.38°)
OKLaboklab(58.98% 0.1214 -0.066)
OKLCHoklch(58.98% 0.138 331.5)
XYZxyz(27.0570, 18.7503, 36.3694)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AB5BA2 #5BAB64
analogous
#8C5BAB #AB5BA2 #AB5B7A
triadic
#AB5BA2 #A2AB5B #5BA2AB
tetradic
#AB5BA2 #AB8C5B #5BAB64 #5B7AAB
square
#AB5BA2 #AB8C5B #5BAB64 #5B7AAB
split-complementary
#AB5BA2 #7AAB5B #5BAB8C
monochromatic
#5C2F57 #85447E #AB5BA2 #C083B9 #D4ACD0

Accesibilidad y contraste

On white

4.42
#AB5BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AB5BA2 on #000000
AA ✓AA large ✓AAA ✗

Mejor color de texto

#000000 on #AB5BA2
4.75:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AB5BA2#FFFFFF#000000##000000
##AB5BA21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#5871A4
Deuteranopia (green-blind)
#6E7CA0
Tritanopia (blue-blind)
#B16177
Achromatopsia (no color)
#787878

Tokens de diseño y código

CSS
--color: #ab5ba2;
/* rgb */ color: rgb(171, 91, 162);
/* oklch */ color: oklch(59.0% 0.138 331.5);
Tailwind
colors: {
  custom: {
    50: '#c68cbd',
    500: '#ab5ba2',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ba2;
$custom-light: #c68cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ba2",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 306.75,
    "s": 32.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58979,
    "c": 0.13822,
    "h": 331.5
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

primary
#AB5BA2
secondary
#9FC3A3
accent
#C86B5F
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Laboratorio de vista previa

Vista previa con #AB5BA2

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

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

#AB5BA2 — Tintiva