Couleur nommée la plus proche · #9152E2
#9152E2
Couleur nommée la plus proche: Candy Grape Fizz
#9152E2 (rgb(145 82 226), hsl(266 71% 60%), oklch(0.583 0.209 300)) est la plus proche de la couleur nommée Candy Grape Fizz. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#9152E2
oklch(0.583 0.209 300)
Conversions de couleur
- HEX
- #9152e2
- RGB
- rgb(145 82 226)
- HSL
- hsl(266 71% 60%)
- HWB
- hwb(266 32% 11%)
- OKLCH
- oklch(0.583 0.209 300)
- OKLab
- oklab(0.583 0.105 -0.181)
- CIE Lab
- lab(48.21 48.23 -64.56)
- LCH
- lch(48.21 80.58 306.8)
- CMYK
- cmyk(36% 64% 0% 11%)
Teintes · Ombres · Tons
Teintes
- 9B66E6
- A578EA
- B08AEE
- BA9BF2
- C5ACF5
- D0BDF7
- DCCDFA
- E7DEFC
- F3EEFE
Ombres
- 7D46C4
- 6A3BA8
- 582F8C
- 462571
- 351A57
- 25113E
- 150827
- 070212
- 010003
Tons
- 8F59D9
- 8D60CF
- 8B65C6
- 896ABC
- 876FB3
- 8673A9
- 84769F
- 837A95
- 817D8B
Harmonies de couleurs
Complémentaire +180°
- 9152E2
Candy Grape Fizz
- 718600
≈ Swamp Green
Analogue -30° +30°
- 9152E2
Candy Grape Fizz
- 4E6AF5
≈ Flickering Sea
- BB3DB5
≈ Ultraviolet Cryner
Triadique +120° +240°
- 9152E2
Candy Grape Fizz
- B46400
≈ Umber
- 008F7E
≈ Philips Green
Complémentaire divisée +150° +210°
- 9152E2
Candy Grape Fizz
- 977700
≈ Mesozoic Green
- 009443
≈ Pixelated Grass
Tétradique +90° +180° +270°
- 9152E2
Candy Grape Fizz
- DC3020
≈ Shōjōhi Red
- 718600
≈ Swamp Green
- 008B9C
≈ Atlantic Blue
Contraste et accessibilité
Ag
AASur blanc
WCAG 4.65:1 · APCA Lc 72
Ag
AASur noir
WCAG 4.50:1 · APCA Lc 30
Meilleure couleur de texte: #FFFFFF
WCAG 4.65:1 (AA) · APCA Lc 72
Contrast pairs
Extraits de code
CSS
:root {
--candy-grape-fizz: #9152e2;
--candy-grape-fizz-rgb: 145 82 226;
--candy-grape-fizz-oklch: oklch(0.583 0.209 300);
}
.element {
color: var(--candy-grape-fizz);
background-color: hsl(266 71% 60%);
border-color: oklch(0.583 0.209 300);
}Tailwind CSS v4
@theme {
--color-candy-grape-fizz: #9152e2;
--color-candy-grape-fizz-50: #ffe8ff;
--color-candy-grape-fizz-100: #f5d8ff;
--color-candy-grape-fizz-200: #e5beff;
--color-candy-grape-fizz-300: #cc9bff;
--color-candy-grape-fizz-400: #b37bff;
--color-candy-grape-fizz-500: #9f57f9;
--color-candy-grape-fizz-600: #864bd2;
--color-candy-grape-fizz-700: #6b3ca9;
--color-candy-grape-fizz-800: #4d2b80;
--color-candy-grape-fizz-900: #351d5a;
--color-candy-grape-fizz-950: #210c3d;
}SCSS
$candy-grape-fizz: #9152e2;
$candy-grape-fizz-rgb: 145, 82, 226;
$candy-grape-fizz-light: mix(#fff, $candy-grape-fizz, 20%);
$candy-grape-fizz-dark: mix(#000, $candy-grape-fizz, 20%);
.element {
color: $candy-grape-fizz;
box-shadow: 0 0 0 2px rgba($candy-grape-fizz, 0.35);
}