#9A5BA2#9A5BA2

#9A5BA2 es un color medio y vivo de la familia purple. Luminancia relativa 0.170; OKLCH L 56.9% C 0.127 H 322.9°. El mejor color de texto es #FFFFFF con contraste 4.78:1 (cumple WCAG AA).

Valores del color

HEX#9A5BA2
RGBrgb(154, 91, 162)
HSLhsl(293, 28%, 50%)
HSVhsv(293, 44%, 64%)
CMYKcmyk(4.9%, 43.8%, 0%, 36.5%)
CIE-LABlab(48.21, 37.44, -27.85)
CIE-LCHlch(48.21, 46.66, 323.35°)
OKLaboklab(56.88% 0.1011 -0.0765)
OKLCHoklch(56.88% 0.127 322.9)
XYZxyz(23.5884, 16.9618, 36.2068)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#9A5BA2 #63A25B
analogous
#765BA2 #9A5BA2 #A25B87
triadic
#9A5BA2 #A29A5B #5BA29A
tetradic
#9A5BA2 #A2765B #63A25B #5B87A2
square
#9A5BA2 #A2765B #63A25B #5B87A2
split-complementary
#9A5BA2 #87A25B #5BA276
monochromatic
#4F2F54 #75457B #9A5BA2 #B282B9 #CAA9CF

Accesibilidad y contraste

On white

4.78
#9A5BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9A5BA2 on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #9A5BA2
4.78:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##9A5BA2#FFFFFF#000000##FFFFFF
##9A5BA21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#526EA5
Deuteranopia (green-blind)
#6475A0
Tritanopia (blue-blind)
#9C6377
Achromatopsia (no color)
#727272

Tokens de diseño y código

CSS
--color: #9a5ba2;
/* rgb */ color: rgb(154, 91, 162);
/* oklch */ color: oklch(56.9% 0.127 322.9);
Tailwind
colors: {
  custom: {
    50: '#b98bbe',
    500: '#9a5ba2',
    950: '#000000',
  },
}
SCSS
$custom: #9a5ba2;
$custom-light: #b98bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5ba2",
  "rgb": {
    "r": 154,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 293.239,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56883,
    "c": 0.1268,
    "h": 322.9
  },
  "luminance": 0.16961
}

Semantic roles & 50–950 ramp

primary
#9A5BA2
secondary
#A0BD9C
accent
#C4636E
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#120C12
muted
#817D81

Laboratorio de vista previa

Vista previa con #9A5BA2

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

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

#9A5BA2 — Tintiva