最接近的命名颜色 · #8B4285
#8B4285
最接近的命名颜色: Prunella
#8B4285(rgb(139 66 133)、hsl(305 36% 40%)、oklch(0.497 0.132 330.5))最接近命名颜色 Prunella。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#8B4285
oklch(0.497 0.132 330.5)
颜色转换
- HEX
- #8b4285
- RGB
- rgb(139 66 133)
- HSL
- hsl(305 36% 40%)
- HWB
- hwb(305 26% 45%)
- OKLCH
- oklch(0.497 0.132 330.5)
- OKLab
- oklab(0.497 0.115 -0.065)
- CIE Lab
- lab(39.7 38.68 -23.55)
- LCH
- lch(39.7 45.28 328.7)
- CMYK
- cmyk(0% 53% 4% 45%)
浅色调 · 深色调 · 灰色调
浅色调
- 975591
- A3679D
- AF7AA9
- BB8CB5
- C69FC1
- D2B2CE
- DDC5DA
- E9D8E6
- F4EBF3
深色调
- 783873
- 662F61
- 542550
- 431C40
- 321430
- 230B21
- 140513
- 070106
- 010001
灰色调
- 8B4985
- 8A5084
- 895784
- 895D84
- 886383
- 866983
- 856F82
- 847582
- 827A81
配色和谐
互补色 +180°
- 8B4285
Prunella
- 097637
≈ Nature’s Strength
类似色 -30° +30°
- 8B4285
Prunella
- 6F4DA1
≈ Studio
- 9C3C5F
≈ Boysenberry Pink
三角配色 +120° +240°
- 8B4285
Prunella
- 785F00
≈ Ground Earth
- 006F7E
≈ Coastal Jetty
分裂互补色 +150° +210°
- 8B4285
Prunella
- 5A6C00
≈ Over the Hills
- 007365
≈ Pharaoh’s Gem
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 6.53:1 · APCA Lc 82
Ag
Fail黑底
WCAG 3.21:1 · APCA Lc 20
最佳文字颜色: #FFFFFF
WCAG 6.53:1 (AA) · APCA Lc 82
Contrast pairs
代码片段
CSS
:root {
--prunella: #8b4285;
--prunella-rgb: 139 66 133;
--prunella-oklch: oklch(0.497 0.132 330.5);
}
.element {
color: var(--prunella);
background-color: hsl(305 36% 40%);
border-color: oklch(0.497 0.132 330.5);
}Tailwind CSS v4
@theme {
--color-prunella: #8b4285;
--color-prunella-50: #ffe8ff;
--color-prunella-100: #ffd8fb;
--color-prunella-200: #f7c0ed;
--color-prunella-300: #e09ed5;
--color-prunella-400: #ca80c3;
--color-prunella-500: #b662af;
--color-prunella-600: #9a5493;
--color-prunella-700: #7b4376;
--color-prunella-800: #5b3059;
--color-prunella-900: #3f213e;
--color-prunella-950: #281027;
}SCSS
$prunella: #8b4285;
$prunella-rgb: 139, 66, 133;
$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);
}