Cor nomeada mais próxima · #A21CAB
#A21CAB
Cor nomeada mais próxima: Magentle
#A21CAB (rgb(162 28 171), hsl(296 72% 39%), oklch(0.515 0.223 325.2)) é mais próxima da cor nomeada Magentle. Veja tons claros, sombras, harmonias, contraste WCAG e APCA e código CSS, Tailwind v4 e SCSS.
#A21CAB
oklch(0.515 0.223 325.2)
Conversões de cor
- HEX
- #a21cab
- RGB
- rgb(162 28 171)
- HSL
- hsl(296 72% 39%)
- HWB
- hwb(296 11% 33%)
- OKLCH
- oklch(0.515 0.223 325.2)
- OKLab
- oklab(0.515 0.183 -0.127)
- CIE Lab
- lab(40.15 63.64 -45.46)
- LCH
- lch(40.15 78.21 324.5)
- CMYK
- cmyk(5% 84% 0% 33%)
Tons claros · Sombras · Tons
Tons claros
- AD3EB4
- B757BD
- C16DC6
- CB83CF
- D597D7
- DEACDF
- E6C1E8
- EFD5F0
- F7EAF7
Sombras
- 8C1794
- 77127E
- 630D68
- 4F0854
- 3C0540
- 2A022D
- 19011B
- 0A000B
- 010001
Tons
- A030A7
- 9D3DA3
- 9A49A0
- 98529B
- 945B97
- 916393
- 8D6B8F
- 89728A
- 857985
Harmonias de cor
Complementar +180°
- A21CAB
Magentle
- 007E21
≈ Azure Radiance
Análoga -30° +30°
- A21CAB
Magentle
- 7739D6
≈ Hokkaido Lavender
- BA006D
≈ Botticelli
Tríade +120° +240°
- A21CAB
Magentle
- 836200
≈ Ground Earth
- 007680
≈ Hypnotic Sea
Complementar dividida +150° +210°
- A21CAB
Magentle
- 666F00
≈ Brownish Green
- 007965
≈ Shady Glade
Tétrade +90° +180° +270°
Contraste e acessibilidade
Ag
AASobre branco
WCAG 6.38:1 · APCA Lc 80
Ag
FailSobre preto
WCAG 3.29:1 · APCA Lc 22
Melhor cor de texto: #FFFFFF
WCAG 6.38:1 (AA) · APCA Lc 80
Contrast pairs
Trechos de código
CSS
:root {
--magentle: #a21cab;
--magentle-rgb: 162 28 171;
--magentle-oklch: oklch(0.515 0.223 325.2);
}
.element {
color: var(--magentle);
background-color: hsl(296 72% 39%);
border-color: oklch(0.515 0.223 325.2);
}Tailwind CSS v4
@theme {
--color-magentle: #a21cab;
--color-magentle-50: #ffdfff;
--color-magentle-100: #ffceff;
--color-magentle-200: #ffb1ff;
--color-magentle-300: #f28af2;
--color-magentle-400: #dd66e5;
--color-magentle-500: #ca39d4;
--color-magentle-600: #ab33b3;
--color-magentle-700: #892990;
--color-magentle-800: #651c6d;
--color-magentle-900: #47134d;
--color-magentle-950: #2e0433;
}SCSS
$magentle: #a21cab;
$magentle-rgb: 162, 28, 171;
$magentle-light: mix(#fff, $magentle, 20%);
$magentle-dark: mix(#000, $magentle, 20%);
.element {
color: $magentle;
box-shadow: 0 0 0 2px rgba($magentle, 0.35);
}