最接近的命名颜色 · #8D98CC
#8D98CC
最接近的命名颜色: Easter Egg
#8D98CC(rgb(141 152 204)、hsl(230 38% 68%)、oklch(0.69 0.078 275))最接近命名颜色 Easter Egg。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8D98CC
oklch(0.69 0.078 275)
颜色转换
- HEX
- #8d98cc
- RGB
- rgb(141 152 204)
- HSL
- hsl(230 38% 68%)
- HWB
- hwb(230 55% 20%)
- OKLCH
- oklch(0.69 0.078 275)
- OKLab
- oklab(0.69 0.007 -0.077)
- CIE Lab
- lab(63.42 5.08 -28.31)
- LCH
- lch(63.42 28.76 280.2)
- CMYK
- cmyk(31% 25% 0% 20%)
浅色调 · 深色调 · 灰色调
浅色调
- 98A2D1
- A3ACD7
- AEB6DC
- B9C1E1
- C4CBE6
- D0D5EB
- DBE0F0
- E7EAF5
- F3F4FA
深色调
- 7A84B1
- 677097
- 555C7E
- 444A65
- 33384E
- 232737
- 141722
- 07080F
- 010102
灰色调
- 8C96C4
- 8A93BD
- 8991B5
- 888FAD
- 868CA6
- 858A9E
- 848797
- 83858F
- 818388
配色和谐
互补色 +180°
- 8D98CC
Easter Egg
- AA9B63
≈ Whispering Grasslands
类似色 -30° +30°
- 8D98CC
Easter Egg
- 72A1C9
≈ Cottage Blue
- A690C3
≈ Lilac Breeze
三角配色 +120° +240°
- 8D98CC
Easter Egg
- C78A7B
≈ Yum Raw Spam
- 74AA86
≈ Green Globe
分裂互补色 +150° +210°
- 8D98CC
Easter Egg
- BD9268
≈ Burnished Caramel
- 90A46F
≈ Luscious Lime
四角配色 +90° +180° +270°
对比度与无障碍
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 {
--easter-egg: #8d98cc;
--easter-egg-rgb: 141 152 204;
--easter-egg-oklch: oklch(0.69 0.078 275);
}
.element {
color: var(--easter-egg);
background-color: hsl(230 38% 68%);
border-color: oklch(0.69 0.078 275);
}Tailwind CSS v4
@theme {
--color-easter-egg: #8d98cc;
--color-easter-egg-50: #eff4ff;
--color-easter-egg-100: #e1e6ff;
--color-easter-egg-200: #cbd2f6;
--color-easter-egg-300: #adb4e0;
--color-easter-egg-400: #919bcd;
--color-easter-egg-500: #7782ba;
--color-easter-egg-600: #656e9d;
--color-easter-egg-700: #50587e;
--color-easter-egg-800: #39415d;
--color-easter-egg-900: #272d41;
--color-easter-egg-950: #15192a;
}SCSS
$easter-egg: #8d98cc;
$easter-egg-rgb: 141, 152, 204;
$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);
}