最接近的命名颜色 · #8D4589
#8D4589
最接近的命名颜色: Prunella
#8D4589(rgb(141 69 137)、hsl(303 34% 41%)、oklch(0.506 0.132 329.4))最接近命名颜色 Prunella。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8D4589
oklch(0.506 0.132 329.4)
颜色转换
- HEX
- #8d4589
- RGB
- rgb(141 69 137)
- HSL
- hsl(303 34% 41%)
- HWB
- hwb(303 27% 45%)
- OKLCH
- oklch(0.506 0.132 329.4)
- OKLab
- oklab(0.506 0.114 -0.067)
- CIE Lab
- lab(40.75 38.4 -24.34)
- LCH
- lch(40.75 45.46 327.6)
- CMYK
- cmyk(0% 51% 3% 45%)
浅色调 · 深色调 · 灰色调
浅色调
- 995795
- A56AA0
- B07CAC
- BC8EB8
- C7A0C3
- D3B3CF
- DEC6DB
- E9D8E7
- F4ECF3
深色调
- 7A3B76
- 673164
- 552753
- 441E42
- 331531
- 230C22
- 140514
- 070207
- 010001
灰色调
- 8C4C88
- 8C5288
- 8B5987
- 8A5F86
- 886585
- 876A84
- 867083
- 847582
- 827B81
配色和谐
互补色 +180°
- 8D4589
Prunella
- 167938
≈ Jordan Jazz
类似色 -30° +30°
- 8D4589
Prunella
- 7150A5
≈ Royal Lavender
- 9E3F63
≈ Gooseberry
三角配色 +120° +240°
- 8D4589
Prunella
- 7C6100
≈ Ground Earth
- 007280
≈ Deep Current
分裂互补色 +150° +210°
- 8D4589
Prunella
- 5E6E00
≈ Brownish Green
- 007666
≈ Teal Waters
四角配色 +90° +180° +270°
- 8D4589
Prunella
- 955100
≈ Mochaccino
- 167938
≈ Jordan Jazz
- 006C9F
≈ Disarm
对比度与无障碍
Ag
AA白底
WCAG 6.27:1 · APCA Lc 81
Ag
Fail黑底
WCAG 3.34:1 · APCA Lc 21
最佳文字颜色: #FFFFFF
WCAG 6.27:1 (AA) · APCA Lc 81
Contrast pairs
代码片段
CSS
:root {
--prunella: #8d4589;
--prunella-rgb: 141 69 137;
--prunella-oklch: oklch(0.506 0.132 329.4);
}
.element {
color: var(--prunella);
background-color: hsl(303 34% 41%);
border-color: oklch(0.506 0.132 329.4);
}Tailwind CSS v4
@theme {
--color-prunella: #8d4589;
--color-prunella-50: #ffe8ff;
--color-prunella-100: #ffd8fc;
--color-prunella-200: #f6c0ee;
--color-prunella-300: #df9ed6;
--color-prunella-400: #c981c4;
--color-prunella-500: #b562b0;
--color-prunella-600: #995495;
--color-prunella-700: #7b4377;
--color-prunella-800: #5a305a;
--color-prunella-900: #3f213f;
--color-prunella-950: #281028;
}SCSS
$prunella: #8d4589;
$prunella-rgb: 141, 69, 137;
$prunella-light: mix(#fff, $prunella, 20%);
$prunella-dark: mix(#000, $prunella, 20%);
.element {
color: $prunella;
box-shadow: 0 0 0 2px rgba($prunella, 0.35);
}