#AF7DFA#AF7DFA

#AF7DFA es un color claro y vivo de la familia violeta. Luminancia relativa 0.307; OKLCH L 69.3% C 0.181 H 300.2°. El mejor color de texto es #000000 con contraste 7.14:1 (cumple WCAG AA).

Valores del color

HEX#AF7DFA
RGBrgb(175, 125, 250)
HSLhsl(264, 93%, 74%)
HSVhsv(264, 50%, 98%)
CMYKcmyk(30%, 50%, 0%, 2%)
CIE-LABlab(62.24, 44.40, -55.62)
CIE-LCHlch(62.24, 71.17, 308.60°)
OKLaboklab(69.28% 0.0911 -0.1567)
OKLCHoklch(69.28% 0.181 300.2)
XYZxyz(42.2641, 30.6831, 94.1197)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AF7DFA #C8FA7D
analogous
#7D89FA #AF7DFA #ED7DFA
triadic
#AF7DFA #FAAF7D #7DFAAF
tetradic
#AF7DFA #FA7D89 #C8FA7D #7DFAED
square
#AF7DFA #FA7D89 #C8FA7D #7DFAED
split-complementary
#AF7DFA #FAED7D #89FA7D
monochromatic
#6709F3 #8B42F8 #AF7DFA #D3B8FC #EDE2FE

Accesibilidad y contraste

On white

2.94
#AF7DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#AF7DFA on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AF7DFA
7.14:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AF7DFA#FFFFFF#000000##000000
##AF7DFA1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#5296FE
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#A095B0
Achromatopsia (no color)
#969696

Tokens de diseño y código

CSS
--color: #af7dfa;
/* rgb */ color: rgb(175, 125, 250);
/* oklch */ color: oklch(69.3% 0.181 300.2);
Tailwind
colors: {
  custom: {
    50: '#caa4fc',
    500: '#af7dfa',
    950: '#000000',
  },
}
SCSS
$custom: #af7dfa;
$custom-light: #caa4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af7dfa",
  "rgb": {
    "r": 175,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 264,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69282,
    "c": 0.18125,
    "h": 300.2
  },
  "luminance": 0.30683
}

Semantic roles & 50–950 ramp

primary
#AF7DFA
secondary
#E9F6D5
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Laboratorio de vista previa

Vista previa con #AF7DFA

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

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

#AF7DFA — Tintiva