最接近的命名颜色 · #B229DB
#B229DB
最接近的命名颜色: Promiscuous Pink
#B229DB(rgb(178 41 219)、hsl(286 71% 51%)、oklch(0.579 0.256 316.5))最接近命名颜色 Promiscuous Pink。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#B229DB
oklch(0.579 0.256 316.5)
颜色转换
- HEX
- #b229db
- RGB
- rgb(178 41 219)
- HSL
- hsl(286 71% 51%)
- HWB
- hwb(286 16% 14%)
- OKLCH
- oklch(0.579 0.256 316.5)
- OKLab
- oklab(0.579 0.186 -0.176)
- CIE Lab
- lab(46.7 70.06 -62.74)
- LCH
- lch(46.7 94.05 318.2)
- CMYK
- cmyk(19% 81% 0% 14%)
浅色调 · 深色调 · 灰色调
浅色调
- BB49E0
- C362E5
- CB78E9
- D38CED
- DBA0F1
- E3B3F5
- EAC6F8
- F1D9FA
- F8ECFD
深色调
- 9A22BE
- 831CA2
- 6D1587
- 570F6D
- 430954
- 2F053C
- 1D0226
- 0C0111
- 010002
灰色调
- AE3BD2
- A948CA
- A452C1
- A05BB8
- 9B63AF
- 966AA6
- 91709D
- 8B7694
- 867B8A
配色和谐
互补色 +180°
- B229DB
Promiscuous Pink
- 428F00
≈ Christmas Green
类似色 -30° +30°
- B229DB
Promiscuous Pink
- 7850FF
≈ Venetian Nights
- D40096
≈ Indian Lake
三角配色 +120° +240°
- B229DB
Promiscuous Pink
- A26E00
≈ Golden Hind
- 008B8D
≈ Egyptian Teal
分裂互补色 +150° +210°
- B229DB
Promiscuous Pink
- 837E00
≈ Olive
- 00906A
≈ Sea Swell
四角配色 +90° +180° +270°
- B229DB
Promiscuous Pink
- C35300
≈ Rust Orange
- 428F00
≈ Christmas Green
- 0086AC
≈ Lyrebird
对比度与无障碍
Ag
AA白底
WCAG 4.96:1 · APCA Lc 73
Ag
Fail黑底
WCAG 4.23:1 · APCA Lc 29
最佳文字颜色: #FFFFFF
WCAG 4.96:1 (AA) · APCA Lc 73
Contrast pairs
代码片段
CSS
:root {
--promiscuous-pink: #b229db;
--promiscuous-pink-rgb: 178 41 219;
--promiscuous-pink-oklch: oklch(0.579 0.256 316.5);
}
.element {
color: var(--promiscuous-pink);
background-color: hsl(286 71% 51%);
border-color: oklch(0.579 0.256 316.5);
}Tailwind CSS v4
@theme {
--color-promiscuous-pink: #b229db;
--color-promiscuous-pink-50: #ffdeff;
--color-promiscuous-pink-100: #ffccff;
--color-promiscuous-pink-200: #ffafff;
--color-promiscuous-pink-300: #ed86ff;
--color-promiscuous-pink-400: #d85fff;
--color-promiscuous-pink-500: #c527f3;
--color-promiscuous-pink-600: #a626cd;
--color-promiscuous-pink-700: #851fa5;
--color-promiscuous-pink-800: #61157d;
--color-promiscuous-pink-900: #440e59;
--color-promiscuous-pink-950: #2c003c;
}SCSS
$promiscuous-pink: #b229db;
$promiscuous-pink-rgb: 178, 41, 219;
$promiscuous-pink-light: mix(#fff, $promiscuous-pink, 20%);
$promiscuous-pink-dark: mix(#000, $promiscuous-pink, 20%);
.element {
color: $promiscuous-pink;
box-shadow: 0 0 0 2px rgba($promiscuous-pink, 0.35);
}