最接近的命名颜色 · #945889
#945889
最接近的命名颜色: Grape Candy
#945889(rgb(148 88 137)、hsl(311 25% 46%)、oklch(0.545 0.103 333.9))最接近命名颜色 Grape Candy。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#945889
oklch(0.545 0.103 333.9)
颜色转换
- HEX
- #945889
- RGB
- rgb(148 88 137)
- HSL
- hsl(311 25% 46%)
- HWB
- hwb(311 35% 42%)
- OKLCH
- oklch(0.545 0.103 333.9)
- OKLab
- oklab(0.545 0.093 -0.045)
- CIE Lab
- lab(45.77 30.94 -16.56)
- LCH
- lch(45.77 35.09 331.8)
- CMYK
- cmyk(0% 41% 7% 42%)
浅色调 · 深色调 · 灰色调
浅色调
- 9F6894
- AA78A0
- B588AB
- C099B7
- CAA9C3
- D5BACF
- DFCBDB
- EADCE7
- F5EDF3
深色调
- 804B76
- 6D3F64
- 5A3353
- 482842
- 361D31
- 261222
- 160914
- 080307
- 010001
灰色调
- 925C88
- 916187
- 8F6587
- 8D6986
- 8B6D85
- 897184
- 877583
- 857982
- 837C81
配色和谐
互补色 +180°
- 945889
Grape Candy
- 388154
≈ Kākāriki Green
类似色 -30° +30°
- 945889
Grape Candy
- 7D60A1
≈ Jubilee
- A15569
≈ Mulberry Mix
三角配色 +120° +240°
- 945889
Grape Candy
- 846E18
≈ Tarnished Brass
- 007E92
≈ Pagoda
分裂互补色 +150° +210°
- 945889
Grape Candy
- 647A31
≈ Castelvetrano Olive
- 008276
≈ Green Garlands
四角配色 +90° +180° +270°
- 945889
Grape Candy
- 996226
≈ Tortoiseshell Specs
- 388154
≈ Kākāriki Green
- 3376A8
≈ Python Blue
对比度与无障碍
Ag
AA白底
WCAG 5.22:1 · APCA Lc 76
Ag
Fail黑底
WCAG 4.01:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--grape-candy: #945889;
--grape-candy-rgb: 148 88 137;
--grape-candy-oklch: oklch(0.545 0.103 333.9);
}
.element {
color: var(--grape-candy);
background-color: hsl(311 25% 46%);
border-color: oklch(0.545 0.103 333.9);
}Tailwind CSS v4
@theme {
--color-grape-candy: #945889;
--color-grape-candy-50: #ffebff;
--color-grape-candy-100: #ffdbf5;
--color-grape-candy-200: #f1c4e5;
--color-grape-candy-300: #daa4cc;
--color-grape-candy-400: #c487b8;
--color-grape-candy-500: #af6ba2;
--color-grape-candy-600: #945b89;
--color-grape-candy-700: #77486e;
--color-grape-candy-800: #573452;
--color-grape-candy-900: #3d2439;
--color-grape-candy-950: #261224;
}SCSS
$grape-candy: #945889;
$grape-candy-rgb: 148, 88, 137;
$grape-candy-light: mix(#fff, $grape-candy, 20%);
$grape-candy-dark: mix(#000, $grape-candy, 20%);
.element {
color: $grape-candy;
box-shadow: 0 0 0 2px rgba($grape-candy, 0.35);
}