#C97AFF#C97AFF

#C97AFF es un color claro y vivo de la familia violeta. Luminancia relativa 0.336; OKLCH L 71.7% C 0.198 H 309.7°. El mejor color de texto es #000000 con contraste 7.71:1 (cumple WCAG AA).

Valores del color

HEX#C97AFF
RGBrgb(201, 122, 255)
HSLhsl(276, 100%, 74%)
HSVhsv(276, 52%, 100%)
CMYKcmyk(21.2%, 52.2%, 0%, 0%)
CIE-LABlab(64.61, 53.72, -54.43)
CIE-LCHlch(64.61, 76.48, 314.62°)
OKLaboklab(71.74% 0.1267 -0.1525)
OKLCHoklch(71.74% 0.198 309.7)
XYZxyz(49.0935, 33.5574, 98.4794)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#C97AFF #B0FF7A
analogous
#877AFF #C97AFF #FF7AF3
triadic
#C97AFF #FFC97A #7AFFC9
tetradic
#C97AFF #FF877A #B0FF7A #7AF3FF
square
#C97AFF #FF877A #B0FF7A #7AF3FF
split-complementary
#C97AFF #F3FF7A #7AFF87
monochromatic
#9700FF #B03DFF #C97AFF #E2B7FF #F3E0FF

Accesibilidad y contraste

On white

2.72
#C97AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#C97AFF on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #C97AFF
7.71:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##C97AFF#FFFFFF#000000##000000
##C97AFF1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#6D9EFC
Tritanopia (blue-blind)
#C291B1
Achromatopsia (no color)
#9D9D9D

Tokens de diseño y código

CSS
--color: #c97aff;
/* rgb */ color: rgb(201, 122, 255);
/* oklch */ color: oklch(71.7% 0.198 309.7);
Tailwind
colors: {
  custom: {
    50: '#dca3ff',
    500: '#c97aff',
    950: '#000000',
  },
}
SCSS
$custom: #c97aff;
$custom-light: #dca3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c97aff",
  "rgb": {
    "r": 201,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 275.639,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71741,
    "c": 0.19827,
    "h": 309.7
  },
  "luminance": 0.33557
}

Semantic roles & 50–950 ramp

primary
#C97AFF
secondary
#E2F7D4
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Laboratorio de vista previa

Vista previa con #C97AFF

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

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

#C97AFF — Tintiva