最接近的命名颜色 · #946893
#946893
最接近的命名颜色: Sunshone Plum
#946893(rgb(148 104 147)、hsl(301 17% 49%)、oklch(0.578 0.083 327.3))最接近命名颜色 Sunshone Plum。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#946893
oklch(0.578 0.083 327.3)
颜色转换
- HEX
- #946893
- RGB
- rgb(148 104 147)
- HSL
- hsl(301 17% 49%)
- HWB
- hwb(301 41% 42%)
- OKLCH
- oklch(0.578 0.083 327.3)
- OKLab
- oklab(0.578 0.07 -0.045)
- CIE Lab
- lab(49.84 23.68 -16.36)
- LCH
- lch(49.84 28.78 325.4)
- CMYK
- cmyk(0% 30% 1% 42%)
浅色调 · 深色调 · 灰色调
浅色调
- 9F769D
- A985A8
- B493B3
- BFA2BD
- C9B1C8
- D4C1D3
- DFD0DE
- E9DFE9
- F4EFF4
深色调
- 80597F
- 6D4B6C
- 5A3E59
- 483047
- 362436
- 261825
- 160C16
- 080408
- 010001
灰色调
- 926B91
- 906D8F
- 8F708E
- 8D728C
- 8B758A
- 897788
- 877986
- 847C84
- 827E82
配色和谐
互补色 +180°
- 946893
Sunshone Plum
- 57875D
≈ Spring Garden
类似色 -30° +30°
- 946893
Sunshone Plum
- 7F6FA5
≈ Plum Preserve
- A1657A
≈ Mellow Mauve
三角配色 +120° +240°
- 946893
Sunshone Plum
- 8F773C
≈ Bengal Grass
- 308793
≈ Precious Stone
分裂互补色 +150° +210°
- 946893
Sunshone Plum
- 768045
≈ Grasshopper
- 3A8A79
≈ Ionian
四角配色 +90° +180° +270°
- 946893
Sunshone Plum
- 9F6D47
≈ Standing Still
- 57875D
≈ Spring Garden
- 4681A5
≈ Lake Henry
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.66:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.66:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--sunshone-plum: #946893;
--sunshone-plum-rgb: 148 104 147;
--sunshone-plum-oklch: oklch(0.578 0.083 327.3);
}
.element {
color: var(--sunshone-plum);
background-color: hsl(301 17% 49%);
border-color: oklch(0.578 0.083 327.3);
}Tailwind CSS v4
@theme {
--color-sunshone-plum: #946893;
--color-sunshone-plum-50: #ffedff;
--color-sunshone-plum-100: #f8dff6;
--color-sunshone-plum-200: #e9c8e6;
--color-sunshone-plum-300: #d0a9cc;
--color-sunshone-plum-400: #b98db8;
--color-sunshone-plum-500: #a472a3;
--color-sunshone-plum-600: #8a6189;
--color-sunshone-plum-700: #6f4d6e;
--color-sunshone-plum-800: #513852;
--color-sunshone-plum-900: #382639;
--color-sunshone-plum-950: #231523;
}SCSS
$sunshone-plum: #946893;
$sunshone-plum-rgb: 148, 104, 147;
$sunshone-plum-light: mix(#fff, $sunshone-plum, 20%);
$sunshone-plum-dark: mix(#000, $sunshone-plum, 20%);
.element {
color: $sunshone-plum;
box-shadow: 0 0 0 2px rgba($sunshone-plum, 0.35);
}