最接近的命名颜色 · #935790
#935790
最接近的命名颜色: Grape Candy
#935790(rgb(147 87 144)、hsl(303 26% 46%)、oklch(0.545 0.111 328.8))最接近命名颜色 Grape Candy。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#935790
oklch(0.545 0.111 328.8)
颜色转换
- HEX
- #935790
- RGB
- rgb(147 87 144)
- HSL
- hsl(303 26% 46%)
- HWB
- hwb(303 34% 42%)
- OKLCH
- oklch(0.545 0.111 328.8)
- OKLab
- oklab(0.545 0.095 -0.058)
- CIE Lab
- lab(45.65 32.1 -20.94)
- LCH
- lch(45.65 38.33 326.9)
- CMYK
- cmyk(0% 41% 2% 42%)
浅色调 · 深色调 · 灰色调
浅色调
- 9E679B
- A977A6
- B488B1
- BF98BC
- CAA9C7
- D4BAD2
- DFCBDD
- EADCE8
- F4EDF4
深色调
- 7F4B7D
- 6C3E6A
- 593357
- 472745
- 361C34
- 251224
- 160815
- 080307
- 010001
灰色调
- 925C8F
- 90608D
- 8E648C
- 8D698A
- 8B6D89
- 897187
- 877585
- 857884
- 827C82
配色和谐
互补色 +180°
- 935790
Grape Candy
- 3B824B
≈ Green Grass
类似色 -30° +30°
- 935790
Grape Candy
- 7960A8
≈ Genestealer Purple
- A3526F
≈ China Rose
三角配色 +120° +240°
- 935790
Grape Candy
- 8A6C02
≈ Muddy Brown
- 007F8D
≈ Metallic Seaweed
分裂互补色 +150° +210°
- 935790
Grape Candy
- 6A7922
≈ Castelvetrano Olive
- 008371
≈ Summer Turquoise
四角配色 +90° +180° +270°
- 935790
Grape Candy
- 9F5E23
≈ Tortoiseshell Specs
- 3B824B
≈ Green Grass
- 1F78A9
≈ Larimar Blue
对比度与无障碍
Ag
AA白底
WCAG 5.24:1 · APCA Lc 76
Ag
Fail黑底
WCAG 4.00:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.24:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--grape-candy: #935790;
--grape-candy-rgb: 147 87 144;
--grape-candy-oklch: oklch(0.545 0.111 328.8);
}
.element {
color: var(--grape-candy);
background-color: hsl(303 26% 46%);
border-color: oklch(0.545 0.111 328.8);
}Tailwind CSS v4
@theme {
--color-grape-candy: #935790;
--color-grape-candy-50: #ffeaff;
--color-grape-candy-100: #fedbf9;
--color-grape-candy-200: #f1c4eb;
--color-grape-candy-300: #d9a3d2;
--color-grape-candy-400: #c386bf;
--color-grape-candy-500: #ae6aaa;
--color-grape-candy-600: #935a90;
--color-grape-candy-700: #764873;
--color-grape-candy-800: #563456;
--color-grape-candy-900: #3c233c;
--color-grape-candy-950: #261226;
}SCSS
$grape-candy: #935790;
$grape-candy-rgb: 147, 87, 144;
$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);
}