最接近的命名颜色 · #AD8AE1
#AD8AE1
最接近的命名颜色: Dreamy Candy Forest
#AD8AE1(rgb(173 138 225)、hsl(264 59% 71%)、oklch(0.7 0.129 301.7))最接近命名颜色 Dreamy Candy Forest。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#AD8AE1
oklch(0.7 0.129 301.7)
颜色转换
- HEX
- #ad8ae1
- RGB
- rgb(173 138 225)
- HSL
- hsl(264 59% 71%)
- HWB
- hwb(264 54% 12%)
- OKLCH
- oklch(0.7 0.129 301.7)
- OKLab
- oklab(0.7 0.068 -0.11)
- CIE Lab
- lab(63.41 26.79 -39.7)
- LCH
- lch(63.41 47.89 304)
- CMYK
- cmyk(23% 39% 0% 12%)
浅色调 · 深色调 · 灰色调
浅色调
- B596E5
- BDA1E8
- C5ADEB
- CDB9EF
- D5C4F2
- DDD0F5
- E6DCF7
- EEE7FA
- F6F3FD
深色调
- 9677C4
- 7F65A7
- 6A538B
- 554270
- 413256
- 2D223E
- 1B1427
- 0B0712
- 010102
灰色调
- A889D7
- A489CE
- 9F88C4
- 9A87BA
- 9686B0
- 9185A7
- 8D849D
- 898393
- 84818A
配色和谐
互补色 +180°
- AD8AE1
Dreamy Candy Forest
- 92AB48
≈ Lime It or Leave It
类似色 -30° +30°
- AD8AE1
Dreamy Candy Forest
- 8298EE
≈ Periwinkle Blue
- CC7FC2
≈ Peruvian Lily
三角配色 +120° +240°
- AD8AE1
Dreamy Candy Forest
- D78A40
≈ Coppersmith
- 00B7A4
≈ Aare River
分裂互补色 +150° +210°
- AD8AE1
Dreamy Candy Forest
- BB9B2C
≈ Buddha Gold
- 59B575
≈ Lawn Party
四角配色 +90° +180° +270°
- AD8AE1
Dreamy Candy Forest
- E37E6B
≈ Cosmic Coral
- 92AB48
≈ Lime It or Leave It
- 00B2CA
≈ Antigua Blue
对比度与无障碍
Ag
Fail白底
WCAG 2.80:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.49:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.49:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--dreamy-candy-forest: #ad8ae1;
--dreamy-candy-forest-rgb: 173 138 225;
--dreamy-candy-forest-oklch: oklch(0.7 0.129 301.7);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(264 59% 71%);
border-color: oklch(0.7 0.129 301.7);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #ad8ae1;
--color-dreamy-candy-forest-50: #fdedff;
--color-dreamy-candy-forest-100: #f1deff;
--color-dreamy-candy-forest-200: #e0c7ff;
--color-dreamy-candy-forest-300: #c5a7ee;
--color-dreamy-candy-forest-400: #ac8bde;
--color-dreamy-candy-forest-500: #966fcd;
--color-dreamy-candy-forest-600: #7f5ead;
--color-dreamy-candy-forest-700: #664b8b;
--color-dreamy-candy-forest-800: #493768;
--color-dreamy-candy-forest-900: #332649;
--color-dreamy-candy-forest-950: #1f1430;
}SCSS
$dreamy-candy-forest: #ad8ae1;
$dreamy-candy-forest-rgb: 173, 138, 225;
$dreamy-candy-forest-light: mix(#fff, $dreamy-candy-forest, 20%);
$dreamy-candy-forest-dark: mix(#000, $dreamy-candy-forest, 20%);
.element {
color: $dreamy-candy-forest;
box-shadow: 0 0 0 2px rgba($dreamy-candy-forest, 0.35);
}