Màu có tên gần nhất · #8C459F
#8C459F
Màu có tên gần nhất: Purple Pleasures
#8C459F (rgb(140 69 159), hsl(287 39% 45%), oklch(0.517 0.153 318.7)) gần nhất với màu có tên Purple Pleasures. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#8C459F
oklch(0.517 0.153 318.7)
Chuyển đổi màu
- HEX
- #8c459f
- RGB
- rgb(140 69 159)
- HSL
- hsl(287 39% 45%)
- HWB
- hwb(287 27% 38%)
- OKLCH
- oklch(0.517 0.153 318.7)
- OKLab
- oklab(0.517 0.115 -0.101)
- CIE Lab
- lab(41.54 41.35 -36.37)
- LCH
- lch(41.54 55.07 318.7)
- CMYK
- cmyk(12% 57% 0% 38%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 9858A9
- A36BB3
- AF7DBD
- BA8FC6
- C6A1D0
- D1B4DA
- DDC6E3
- E8D9EC
- F4ECF6
Sắc đậm
- 793B8A
- 673175
- 552761
- 431E4D
- 33153B
- 230C29
- 140518
- 070209
- 010001
Sắc xám
- 8B4C9C
- 8A539A
- 895997
- 886094
- 876591
- 866B8E
- 85708B
- 837687
- 827B84
Hòa sắc
Bổ túc +180°
- 8C459F
Purple Pleasures
- 317B11
≈ Odd Pea Pod
Tương đồng -30° +30°
- 8C459F
Purple Pleasures
- 6754B9
≈ Circumorbital Ring
- A43A76
≈ Maximum Red Purple
Bộ ba +120° +240°
- 8C459F
Purple Pleasures
- 895F00
≈ Rat Brown
- 00777B
≈ Hypnotic Sea
Bổ túc chia +150° +210°
- 8C459F
Purple Pleasures
- 6E6C00
≈ Worn Olive
- 007B5D
≈ Emerald Dream
Bộ bốn +90° +180° +270°
- 8C459F
Purple Pleasures
- A54900
≈ Pepperoni
- 317B11
≈ Odd Pea Pod
- 007296
≈ Enchanted Blue
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 6.05:1 · APCA Lc 80
Ag
FailTrên nền đen
WCAG 3.46:1 · APCA Lc 22
Màu chữ tốt nhất: #FFFFFF
WCAG 6.05:1 (AA) · APCA Lc 80
Contrast pairs
Đoạn mã
CSS
:root {
--purple-pleasures: #8c459f;
--purple-pleasures-rgb: 140 69 159;
--purple-pleasures-oklch: oklch(0.517 0.153 318.7);
}
.element {
color: var(--purple-pleasures);
background-color: hsl(287 39% 45%);
border-color: oklch(0.517 0.153 318.7);
}Tailwind CSS v4
@theme {
--color-purple-pleasures: #8c459f;
--color-purple-pleasures-50: #ffe8ff;
--color-purple-pleasures-100: #ffd8ff;
--color-purple-pleasures-200: #f3bffd;
--color-purple-pleasures-300: #db9de7;
--color-purple-pleasures-400: #c47fd8;
--color-purple-pleasures-500: #b05fc6;
--color-purple-pleasures-600: #9551a7;
--color-purple-pleasures-700: #774186;
--color-purple-pleasures-800: #572f65;
--color-purple-pleasures-900: #3d2047;
--color-purple-pleasures-950: #260f2e;
}SCSS
$purple-pleasures: #8c459f;
$purple-pleasures-rgb: 140, 69, 159;
$purple-pleasures-light: mix(#fff, $purple-pleasures, 20%);
$purple-pleasures-dark: mix(#000, $purple-pleasures, 20%);
.element {
color: $purple-pleasures;
box-shadow: 0 0 0 2px rgba($purple-pleasures, 0.35);
}