最接近的命名颜色 · #8F5992
#8F5992
最接近的命名颜色: Grape Candy
#8F5992(rgb(143 89 146)、hsl(297 24% 46%)、oklch(0.545 0.106 325.1))最接近命名颜色 Grape Candy。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8F5992
oklch(0.545 0.106 325.1)
颜色转换
- HEX
- #8f5992
- RGB
- rgb(143 89 146)
- HSL
- hsl(297 24% 46%)
- HWB
- hwb(297 35% 43%)
- OKLCH
- oklch(0.545 0.106 325.1)
- OKLab
- oklab(0.545 0.087 -0.061)
- CIE Lab
- lab(45.66 29.91 -22.19)
- LCH
- lch(45.66 37.24 323.4)
- CMYK
- cmyk(2% 39% 0% 43%)
浅色调 · 深色调 · 灰色调
浅色调
- 9A699D
- A579A7
- B189B2
- BC99BD
- C7AAC8
- D2BBD3
- DDCBDE
- E9DCE9
- F4EEF4
深色调
- 7C4C7E
- 69406B
- 573458
- 452846
- 341D35
- 241325
- 150916
- 070308
- 010001
灰色调
- 8E5D90
- 8D628F
- 8B668D
- 8A6A8B
- 896E8A
- 877188
- 857586
- 847984
- 827C82
配色和谐
互补色 +180°
- 8F5992
Grape Candy
- 448048
≈ Tarmac Green
类似色 -30° +30°
- 8F5992
Grape Candy
- 7562A7
≈ Genestealer Purple
- A05473
≈ Ruby Shade
三角配色 +120° +240°
- 8F5992
Grape Candy
- 8C6A11
≈ Muddy Brown
- 007F8A
≈ Go Alpha
分裂互补色 +150° +210°
- 8F5992
Grape Candy
- 6E7723
≈ Castelvetrano Olive
- 00836D
≈ Viridis
四角配色 +90° +180° +270°
- 8F5992
Grape Candy
- 9F5D2C
≈ Glazed Ginger
- 448048
≈ Tarmac Green
- 1C79A5
≈ In the Mood
对比度与无障碍
Ag
AA白底
WCAG 5.23:1 · APCA Lc 76
Ag
Fail黑底
WCAG 4.01:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--grape-candy: #8f5992;
--grape-candy-rgb: 143 89 146;
--grape-candy-oklch: oklch(0.545 0.106 325.1);
}
.element {
color: var(--grape-candy);
background-color: hsl(297 24% 46%);
border-color: oklch(0.545 0.106 325.1);
}Tailwind CSS v4
@theme {
--color-grape-candy: #8f5992;
--color-grape-candy-50: #ffebff;
--color-grape-candy-100: #fcdcfb;
--color-grape-candy-200: #edc5ec;
--color-grape-candy-300: #d5a5d4;
--color-grape-candy-400: #bf88c1;
--color-grape-candy-500: #a96cad;
--color-grape-candy-600: #8f5c92;
--color-grape-candy-700: #734975;
--color-grape-candy-800: #543558;
--color-grape-candy-900: #3b243d;
--color-grape-candy-950: #251327;
}SCSS
$grape-candy: #8f5992;
$grape-candy-rgb: 143, 89, 146;
$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);
}