命名颜色 · #DD22FF
Cotton Candy Explosions
Cotton Candy Explosions 即 #DD22FF:rgb(221 34 255)、hsl(291 100% 57%)、oklch(0.66 0.301 320.3)。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
What does Purple mean? → · Cotton Candy Explosions color name →
#DD22FF
oklch(0.66 0.301 320.3)
颜色转换
- HEX
- #dd22ff
- RGB
- rgb(221 34 255)
- HSL
- hsl(291 100% 57%)
- HWB
- hwb(291 13% 0%)
- OKLCH
- oklch(0.66 0.301 320.3)
- OKLab
- oklab(0.66 0.232 -0.192)
- CIE Lab
- lab(55.38 84.3 -68.56)
- LCH
- lch(55.38 108.66 320.9)
- CMYK
- cmyk(13% 87% 0% 0%)
浅色调 · 深色调 · 灰色调
浅色调
- E24BFF
- E767FF
- EB7DFF
- EF92FF
- F3A6FF
- F6B8FF
- F9CAFF
- FBDCFF
- FDEEFF
深色调
- C01CDE
- A416BE
- 88119E
- 6E0B80
- 550763
- 3D0348
- 26012E
- 110016
- 020003
灰色调
- D43BF3
- CC4BE6
- C356DA
- BA60CD
- B167C0
- A76EB4
- 9E73A7
- 94789A
- 8A7C8D
配色和谐
互补色 +180°
- DD22FF
Cotton Candy Explosions
- 31AF00
≈ Pikkoro Green
类似色 -30° +30°
- DD22FF
Cotton Candy Explosions
- 9476FF
≈ Forgotten Purple
- FF05A8
≈ Ms. Pac-Man Kiss
三角配色 +120° +240°
- DD22FF
Cotton Candy Explosions
- BD8700
≈ Kenyan Sand
- 00A6AD
≈ Blue Bolero
分裂互补色 +150° +210°
- DD22FF
Cotton Candy Explosions
- 989900
≈ Papyrus
- 00AB86
≈ Simply Green
四角配色 +90° +180° +270°
- DD22FF
Cotton Candy Explosions
- E26B00
≈ Accent Orange
- 31AF00
≈ Pikkoro Green
- 00A0D3
≈ Structural Blue
对比度与无障碍
Ag
Fail白底
WCAG 3.65:1 · APCA Lc 62
Ag
AA黑底
WCAG 5.74:1 · APCA Lc 40
最佳文字颜色: #000000
WCAG 5.74:1 (AA) · APCA Lc 40
Contrast pairs
代码片段
CSS
:root {
--cotton-candy-explosions: #dd22ff;
--cotton-candy-explosions-rgb: 221 34 255;
--cotton-candy-explosions-oklch: oklch(0.66 0.301 320.3);
}
.element {
color: var(--cotton-candy-explosions);
background-color: hsl(291 100% 57%);
border-color: oklch(0.66 0.301 320.3);
}Tailwind CSS v4
@theme {
--color-cotton-candy-explosions: #dd22ff;
--color-cotton-candy-explosions-50: #ffd8ff;
--color-cotton-candy-explosions-100: #ffc5ff;
--color-cotton-candy-explosions-200: #ffa4ff;
--color-cotton-candy-explosions-300: #fc77ff;
--color-cotton-candy-explosions-400: #e844ff;
--color-cotton-candy-explosions-500: #d600fb;
--color-cotton-candy-explosions-600: #b400d4;
--color-cotton-candy-explosions-700: #9100aa;
--color-cotton-candy-explosions-800: #6a0082;
--color-cotton-candy-explosions-900: #4b005c;
--color-cotton-candy-explosions-950: #31003f;
}SCSS
$cotton-candy-explosions: #dd22ff;
$cotton-candy-explosions-rgb: 221, 34, 255;
$cotton-candy-explosions-light: mix(#fff, $cotton-candy-explosions, 20%);
$cotton-candy-explosions-dark: mix(#000, $cotton-candy-explosions, 20%);
.element {
color: $cotton-candy-explosions;
box-shadow: 0 0 0 2px rgba($cotton-candy-explosions, 0.35);
}