Couleur nommée la plus proche · #5F5B8C
#5F5B8C
Couleur nommée la plus proche: Wizard’s Potion
#5F5B8C (rgb(95 91 140), hsl(245 21% 45%), oklch(0.496 0.077 287)) est la plus proche de la couleur nommée Wizard’s Potion. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#5F5B8C
oklch(0.496 0.077 287)
Conversions de couleur
- HEX
- #5f5b8c
- RGB
- rgb(95 91 140)
- HSL
- hsl(245 21% 45%)
- HWB
- hwb(245 36% 45%)
- OKLCH
- oklch(0.496 0.077 287)
- OKLab
- oklab(0.496 0.023 -0.074)
- CIE Lab
- lab(40.63 10.77 -26.86)
- LCH
- lch(40.63 28.94 291.8)
- CMYK
- cmyk(32% 35% 0% 45%)
Teintes · Ombres · Tons
Teintes
- 6D6A97
- 7C7AA3
- 8B8AAE
- 9B9ABA
- ABAAC5
- BBBBD1
- CCCBDC
- DDDCE8
- EEEEF3
Ombres
- 524E79
- 444167
- 383555
- 2C2943
- 201E33
- 151323
- 0A0914
- 030307
- 000001
Tons
- 625F8B
- 65638A
- 686689
- 6C6A88
- 6F6E87
- 727286
- 767584
- 797983
- 7D7C82
Harmonies de couleurs
Complémentaire +180°
- 5F5B8C
Wizard’s Potion
- 67652D
≈ Gretchin Green
Analogue -30° +30°
- 5F5B8C
Wizard’s Potion
- 45638E
≈ Blue Beret
- 74547F
≈ Patrician Purple
Triadique +120° +240°
- 5F5B8C
Wizard’s Potion
- 86543B
≈ Chocolate Stain
- 2F7059
≈ Foliage Green
Complémentaire divisée +150° +210°
- 5F5B8C
Wizard’s Potion
- 7B5C2B
≈ Breen
- 4D6C40
≈ Pine Scent
Tétradique +90° +180° +270°
- 5F5B8C
Wizard’s Potion
- 894F52
≈ Roan Rouge
- 67652D
≈ Gretchin Green
- 196F71
≈ Marine Wonder
Contraste et accessibilité
Ag
AASur blanc
WCAG 6.24:1 · APCA Lc 81
Ag
FailSur noir
WCAG 3.36:1 · APCA Lc 21
Meilleure couleur de texte: #FFFFFF
WCAG 6.24:1 (AA) · APCA Lc 81
Contrast pairs
Extraits de code
CSS
:root {
--wizard-s-potion: #5f5b8c;
--wizard-s-potion-rgb: 95 91 140;
--wizard-s-potion-oklch: oklch(0.496 0.077 287);
}
.element {
color: var(--wizard-s-potion);
background-color: hsl(245 21% 45%);
border-color: oklch(0.496 0.077 287);
}Tailwind CSS v4
@theme {
--color-wizard-s-potion: #5f5b8c;
--color-wizard-s-potion-50: #f4f2ff;
--color-wizard-s-potion-100: #e6e4ff;
--color-wizard-s-potion-200: #d2d0f4;
--color-wizard-s-potion-300: #b5b2dd;
--color-wizard-s-potion-400: #9b98ca;
--color-wizard-s-potion-500: #827eb7;
--color-wizard-s-potion-600: #6e6b9b;
--color-wizard-s-potion-700: #58567c;
--color-wizard-s-potion-800: #3f3f5c;
--color-wizard-s-potion-900: #2c2b41;
--color-wizard-s-potion-950: #191829;
}SCSS
$wizard-s-potion: #5f5b8c;
$wizard-s-potion-rgb: 95, 91, 140;
$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);
}