最接近的命名颜色 · #8E98CF
#8E98CF
最接近的命名颜色: Easter Egg
#8E98CF(rgb(142 152 207)、hsl(231 40% 68%)、oklch(0.692 0.082 276.1))最接近命名颜色 Easter Egg。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8E98CF
oklch(0.692 0.082 276.1)
颜色转换
- HEX
- #8e98cf
- RGB
- rgb(142 152 207)
- HSL
- hsl(231 40% 68%)
- HWB
- hwb(231 56% 19%)
- OKLCH
- oklch(0.692 0.082 276.1)
- OKLab
- oklab(0.692 0.009 -0.081)
- CIE Lab
- lab(63.6 5.99 -29.7)
- LCH
- lch(63.6 30.3 281.4)
- CMYK
- cmyk(31% 27% 0% 19%)
浅色调 · 深色调 · 灰色调
浅色调
- 99A2D4
- A3ACD9
- AEB6DE
- BAC1E3
- C5CBE8
- D0D5ED
- DCE0F1
- E7EAF6
- F3F4FB
深色调
- 7B84B4
- 687099
- 565C7F
- 444A67
- 34384F
- 242738
- 151723
- 070810
- 010102
灰色调
- 8D96C7
- 8B93BF
- 8A91B7
- 888FAF
- 878CA7
- 858AA0
- 848798
- 838590
- 818388
配色和谐
互补色 +180°
- 8E98CF
Easter Egg
- AB9C60
≈ Whispering Grasslands
类似色 -30° +30°
- 8E98CF
Easter Egg
- 71A1CC
≈ Overcast
- A98FC5
≈ Lilac Breeze
三角配色 +120° +240°
- 8E98CF
Easter Egg
- C98A79
≈ Ginger Whisper
- 71AC87
≈ Green Goddess
分裂互补色 +150° +210°
- 8E98CF
Easter Egg
- BF9265
≈ Burnished Caramel
- 8FA66E
≈ Lettuce Mound
四角配色 +90° +180° +270°
对比度与无障碍
Ag
Fail白底
WCAG 2.78:1 · APCA Lc 54
Ag
AAA黑底
WCAG 7.54:1 · APCA Lc 48
最佳文字颜色: #000000
WCAG 7.54:1 (AAA) · APCA Lc 48
Contrast pairs
代码片段
CSS
:root {
--easter-egg: #8e98cf;
--easter-egg-rgb: 142 152 207;
--easter-egg-oklch: oklch(0.692 0.082 276.1);
}
.element {
color: var(--easter-egg);
background-color: hsl(231 40% 68%);
border-color: oklch(0.692 0.082 276.1);
}Tailwind CSS v4
@theme {
--color-easter-egg: #8e98cf;
--color-easter-egg-50: #eff3ff;
--color-easter-egg-100: #e1e6ff;
--color-easter-egg-200: #cbd2f8;
--color-easter-egg-300: #adb4e2;
--color-easter-egg-400: #919bcf;
--color-easter-egg-500: #7781bc;
--color-easter-egg-600: #656e9f;
--color-easter-egg-700: #515880;
--color-easter-egg-800: #39405f;
--color-easter-egg-900: #272c42;
--color-easter-egg-950: #16192b;
}SCSS
$easter-egg: #8e98cf;
$easter-egg-rgb: 142, 152, 207;
$easter-egg-light: mix(#fff, $easter-egg, 20%);
$easter-egg-dark: mix(#000, $easter-egg, 20%);
.element {
color: $easter-egg;
box-shadow: 0 0 0 2px rgba($easter-egg, 0.35);
}