#9A87DC#9A87DC

#9A87DC es un color claro y vivo de la familia violeta. Luminancia relativa 0.294; OKLCH L 67.5% C 0.124 H 293.0°. El mejor color de texto es #000000 con contraste 6.87:1 (cumple WCAG AA).

Valores del color

HEX#9A87DC
RGBrgb(154, 135, 220)
HSLhsl(253, 55%, 70%)
HSVhsv(253, 39%, 86%)
CMYKcmyk(30%, 38.6%, 0%, 13.7%)
CIE-LABlab(61.10, 25.72, -40.92)
CIE-LCHlch(61.10, 48.34, 302.15°)
OKLaboklab(67.48% 0.0486 -0.1144)
OKLCHoklch(67.48% 0.124 293)
XYZxyz(34.9054, 29.3647, 71.5252)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#9A87DC #C9DC87
analogous
#879FDC #9A87DC #C587DC
triadic
#9A87DC #DC9A87 #87DC9A
tetradic
#9A87DC #DC879F #C9DC87 #87DCC5
square
#9A87DC #DC879F #C9DC87 #87DCC5
split-complementary
#9A87DC #DCC587 #9FDC87
monochromatic
#5135B4 #7258CE #9A87DC #C2B6EA #EAE6F8

Accesibilidad y contraste

On white

3.06
#9A87DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#9A87DC on #000000
AA ✓AA large ✓AAA ✗

Mejor color de texto

#000000 on #9A87DC
6.87:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##9A87DC#FFFFFF#000000##000000
##9A87DC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#6F95DF
Deuteranopia (green-blind)
#7192DA
Tritanopia (blue-blind)
#8B96A7
Achromatopsia (no color)
#939393

Tokens de diseño y código

CSS
--color: #9a87dc;
/* rgb */ color: rgb(154, 135, 220);
/* oklch */ color: oklch(67.5% 0.124 293.0);
Tailwind
colors: {
  custom: {
    50: '#baaae7',
    500: '#9a87dc',
    950: '#000000',
  },
}
SCSS
$custom: #9a87dc;
$custom-light: #baaae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a87dc",
  "rgb": {
    "r": 154,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 253.412,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67481,
    "c": 0.12427,
    "h": 293
  },
  "luminance": 0.29365
}

Semantic roles & 50–950 ramp

primary
#9A87DC
secondary
#E6ECD3
accent
#C2239F
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#121016
muted
#817F84

Laboratorio de vista previa

Vista previa con #9A87DC

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

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

#9A87DC — Tintiva