Colore con nome più vicino · #5F5FA2
#5F5FA2
Colore con nome più vicino: Wizard’s Potion
#5F5FA2 (rgb(95 95 162), hsl(240 26% 50%), oklch(0.516 0.105 282.1)) è più vicino al colore con nome Wizard’s Potion. Scopri tinte, ombre, armonie, contrasto WCAG e APCA e codice CSS, Tailwind v4 e SCSS.
#5F5FA2
oklch(0.516 0.105 282.1)
Conversioni di colore
- HEX
- #5f5fa2
- RGB
- rgb(95 95 162)
- HSL
- hsl(240 26% 50%)
- HWB
- hwb(240 37% 36%)
- OKLCH
- oklch(0.516 0.105 282.1)
- OKLab
- oklab(0.516 0.022 -0.102)
- CIE Lab
- lab(42.67 13.39 -36.78)
- LCH
- lch(42.67 39.14 290)
- CMYK
- cmyk(41% 41% 0% 36%)
Tinte · Ombre · Toni
Tinte
- 6D6EAC
- 7C7EB5
- 8B8DBF
- 9B9DC8
- ABADD2
- BBBDDB
- CCCDE4
- DCDEED
- EEEEF6
Ombre
- 52528C
- 444477
- 383863
- 2C2C4F
- 20203C
- 15152A
- 0A0A19
- 03030A
- 000001
Toni
- 62639F
- 65669C
- 686A99
- 6B6D96
- 6F7092
- 72748F
- 75778B
- 797A88
- 7C7D84
Armonie di colore
Complementare +180°
- 5F5FA2
Wizard’s Potion
- 74690B
≈ Arousing Alligator
Analogo -30° +30°
- 5F5FA2
Wizard’s Potion
- 376AA2
≈ Star Sapphire
- 7C5593
≈ Juneberry
Triadico +120° +240°
- 5F5FA2
Wizard’s Potion
- 995134
≈ Japanese Cypress
- 197A55
≈ Opal Green
Complementare divisa +150° +210°
- 5F5FA2
Wizard’s Potion
- 8C5C10
≈ Rat Brown
- 517430
≈ Loren Forest
Tetradico +90° +180° +270°
- 5F5FA2
Wizard’s Potion
- 9A4C58
≈ Baked Bahama
- 74690B
≈ Arousing Alligator
- 007875
≈ Prismarine
Contrasto e accessibilità
Ag
AASu bianco
WCAG 5.76:1 · APCA Lc 79
Ag
FailSu nero
WCAG 3.64:1 · APCA Lc 23
Miglior colore del testo: #FFFFFF
WCAG 5.76:1 (AA) · APCA Lc 79
Contrast pairs
Frammenti di codice
CSS
:root {
--wizard-s-potion: #5f5fa2;
--wizard-s-potion-rgb: 95 95 162;
--wizard-s-potion-oklch: oklch(0.516 0.105 282.1);
}
.element {
color: var(--wizard-s-potion);
background-color: hsl(240 26% 50%);
border-color: oklch(0.516 0.105 282.1);
}Tailwind CSS v4
@theme {
--color-wizard-s-potion: #5f5fa2;
--color-wizard-s-potion-50: #f1f2ff;
--color-wizard-s-potion-100: #e3e4ff;
--color-wizard-s-potion-200: #cecfff;
--color-wizard-s-potion-300: #b0b1ec;
--color-wizard-s-potion-400: #9597db;
--color-wizard-s-potion-500: #7c7cc9;
--color-wizard-s-potion-600: #6969aa;
--color-wizard-s-potion-700: #545488;
--color-wizard-s-potion-800: #3b3e66;
--color-wizard-s-potion-900: #292b48;
--color-wizard-s-potion-950: #17182f;
}SCSS
$wizard-s-potion: #5f5fa2;
$wizard-s-potion-rgb: 95, 95, 162;
$wizard-s-potion-light: mix(#fff, $wizard-s-potion, 20%);
$wizard-s-potion-dark: mix(#000, $wizard-s-potion, 20%);
.element {
color: $wizard-s-potion;
box-shadow: 0 0 0 2px rgba($wizard-s-potion, 0.35);
}