#AF2EB2#AF2EB2

#AF2EB2 es un color medio y muy saturado de la familia purple. Luminancia relativa 0.143; OKLCH L 55.1% C 0.218 H 327.0°. El mejor color de texto es #FFFFFF con contraste 5.45:1 (cumple WCAG AA).

Valores del color

HEX#AF2EB2
RGBrgb(175, 46, 178)
HSLhsl(299, 59%, 44%)
HSVhsv(299, 74%, 70%)
CMYKcmyk(1.7%, 74.2%, 0%, 30.2%)
CIE-LABlab(44.64, 66.06, -42.71)
CIE-LCHlch(44.64, 78.66, 327.11°)
OKLaboklab(55.15% 0.1829 -0.1186)
OKLCHoklch(55.15% 0.218 327)
XYZxyz(26.6916, 14.2842, 43.4621)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AF2EB2 #31B22E
analogous
#6D2EB2 #AF2EB2 #B22E73
triadic
#AF2EB2 #B2AF2E #2EB2AF
tetradic
#AF2EB2 #B26D2E #31B22E #2E73B2
square
#AF2EB2 #B26D2E #31B22E #2E73B2
split-complementary
#AF2EB2 #73B22E #2EB26D
monochromatic
#4F1551 #7F2181 #AF2EB2 #CE4CD1 #DB7DDD

Accesibilidad y contraste

On white

5.45
#AF2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF2EB2 on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #AF2EB2
5.45:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AF2EB2#FFFFFF#000000##FFFFFF
##AF2EB21.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#095FB6
Deuteranopia (green-blind)
#506FAF
Tritanopia (blue-blind)
#B4446E
Achromatopsia (no color)
#6A6A6A

Tokens de diseño y código

CSS
--color: #af2eb2;
/* rgb */ color: rgb(175, 46, 178);
/* oklch */ color: oklch(55.1% 0.218 327.0);
Tailwind
colors: {
  custom: {
    50: '#cb75c9',
    500: '#af2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #af2eb2;
$custom-light: #cb75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#af2eb2",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 298.636,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.21797,
    "h": 327
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#AF2EB2
secondary
#78C676
accent
#E24649
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Laboratorio de vista previa

Vista previa con #AF2EB2

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

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

#AF2EB2 — Tintiva