最接近的命名颜色 · #915989
#915989
最接近的命名颜色: Grape Candy
#915989(rgb(145 89 137)、hsl(309 24% 46%)、oklch(0.543 0.099 332.1))最接近命名颜色 Grape Candy。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#915989
oklch(0.543 0.099 332.1)
颜色转换
- HEX
- #915989
- RGB
- rgb(145 89 137)
- HSL
- hsl(309 24% 46%)
- HWB
- hwb(309 35% 43%)
- OKLCH
- oklch(0.543 0.099 332.1)
- OKLab
- oklab(0.543 0.087 -0.046)
- CIE Lab
- lab(45.6 29.31 -16.86)
- LCH
- lch(45.6 33.82 330.1)
- CMYK
- cmyk(0% 39% 6% 43%)
浅色调 · 深色调 · 灰色调
浅色调
- 9C6994
- A779A0
- B289AB
- BD99B7
- C8AAC3
- D3BACF
- DECBDB
- E9DCE7
- F4EEF3
深色调
- 7D4C76
- 6A4064
- 583453
- 462842
- 351D31
- 251322
- 150914
- 070307
- 010001
灰色调
- 905D88
- 8E6187
- 8D6687
- 8B6986
- 8A6D85
- 887184
- 867583
- 847982
- 827C81
配色和谐
互补色 +180°
- 915989
Grape Candy
- 3D8052
≈ Tarmac Green
类似色 -30° +30°
- 915989
Grape Candy
- 7B619F
≈ Jubilee
- 9E566B
≈ Mulberry Mix
三角配色 +120° +240°
- 915989
Grape Candy
- 846D1E
≈ Tarnished Brass
- 007E90
≈ Metallic Seaweed
分裂互补色 +150° +210°
- 915989
Grape Candy
- 667932
≈ Castelvetrano Olive
- 008274
≈ Green Garlands
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 5.25:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.99:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--grape-candy: #915989;
--grape-candy-rgb: 145 89 137;
--grape-candy-oklch: oklch(0.543 0.099 332.1);
}
.element {
color: var(--grape-candy);
background-color: hsl(309 24% 46%);
border-color: oklch(0.543 0.099 332.1);
}Tailwind CSS v4
@theme {
--color-grape-candy: #915989;
--color-grape-candy-50: #ffebff;
--color-grape-candy-100: #fddcf6;
--color-grape-candy-200: #efc5e6;
--color-grape-candy-300: #d7a5cc;
--color-grape-candy-400: #c189b8;
--color-grape-candy-500: #ac6da3;
--color-grape-candy-600: #925c8a;
--color-grape-candy-700: #754a6e;
--color-grape-candy-800: #563553;
--color-grape-candy-900: #3c243a;
--color-grape-candy-950: #251324;
}SCSS
$grape-candy: #915989;
$grape-candy-rgb: 145, 89, 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);
}