#D2A1FC#D2A1FC

#D2A1FC es un color claro y vivo de la familia violeta. Luminancia relativa 0.462; OKLCH L 78.7% C 0.135 H 308.3°. El mejor color de texto es #000000 con contraste 10.24:1 (cumple WCAG AA).

Valores del color

HEX#D2A1FC
RGBrgb(210, 161, 252)
HSLhsl(272, 94%, 81%)
HSVhsv(272, 36%, 99%)
CMYKcmyk(16.7%, 36.1%, 0%, 1.2%)
CIE-LABlab(73.69, 34.79, -38.47)
CIE-LCHlch(73.69, 51.87, 312.13°)
OKLaboklab(78.71% 0.0838 -0.1063)
OKLCHoklch(78.71% 0.135 308.3)
XYZxyz(56.8906, 46.2202, 98.0009)
Luminance0.4622 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#D2A1FC #CBFCA1
analogous
#A4A1FC #D2A1FC #FCA1F8
triadic
#D2A1FC #FCD2A1 #A1FCD2
tetradic
#D2A1FC #FCA4A1 #CBFCA1 #A1F8FC
square
#D2A1FC #FCA4A1 #CBFCA1 #A1F8FC
split-complementary
#D2A1FC #F8FCA1 #A1FCA4
monochromatic
#992AF8 #B666FA #D2A1FC #EEDCFE #F1E1FE

Accesibilidad y contraste

On white

2.05
#D2A1FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#D2A1FC on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #D2A1FC
10.24:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##D2A1FC#FFFFFF#000000##000000
##D2A1FC1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#9AB6F9
Tritanopia (blue-blind)
#CDAEC3
Achromatopsia (no color)
#B5B5B5

Tokens de diseño y código

CSS
--color: #d2a1fc;
/* rgb */ color: rgb(210, 161, 252);
/* oklch */ color: oklch(78.7% 0.135 308.3);
Tailwind
colors: {
  custom: {
    50: '#e1bdfd',
    500: '#d2a1fc',
    950: '#000000',
  },
}
SCSS
$custom: #d2a1fc;
$custom-light: #e1bdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d2a1fc",
  "rgb": {
    "r": 210,
    "g": 161,
    "b": 252
  },
  "hsl": {
    "h": 272.308,
    "s": 93.814,
    "l": 80.98
  },
  "oklch": {
    "l": 0.78705,
    "c": 0.13533,
    "h": 308.3
  },
  "luminance": 0.4622
}

Semantic roles & 50–950 ramp

primary
#D2A1FC
secondary
#E4F6D5
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Laboratorio de vista previa

Vista previa con #D2A1FC

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

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

#D2A1FC — Tintiva