Màu có tên gần nhất · #9B45F0
#9B45F0
Màu có tên gần nhất: Sweet Desire
#9B45F0 (rgb(155 69 240), hsl(270 85% 61%), oklch(0.589 0.242 302.4)) gần nhất với màu có tên Sweet Desire. 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.
#9B45F0
oklch(0.589 0.242 302.4)
Chuyển đổi màu
- HEX
- #9b45f0
- RGB
- rgb(155 69 240)
- HSL
- hsl(270 85% 61%)
- HWB
- hwb(270 27% 6%)
- OKLCH
- oklch(0.589 0.242 302.4)
- OKLab
- oklab(0.589 0.129 -0.204)
- CIE Lab
- lab(48.06 59.08 -72.6)
- LCH
- lch(48.06 93.6 309.1)
- CMYK
- cmyk(35% 71% 0% 6%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- A45DF3
- AD71F6
- B785F9
- C197FB
- CBA9FC
- D5BAFE
- DFCCFF
- EADDFF
- F4EEFF
Sắc đậm
- 863BD1
- 7231B2
- 5E2795
- 4B1E78
- 39155D
- 280C43
- 18052A
- 090214
- 010003
Sắc xám
- 984FE5
- 9558DB
- 925FD0
- 8F66C5
- 8D6BBA
- 8A70AF
- 8775A3
- 857998
- 827D8C
Hòa sắc
Bổ túc +180°
- 9B45F0
Sweet Desire
- 6E8900
≈ Swamp Green
Tương đồng -30° +30°
- 9B45F0
Sweet Desire
- 5567FF
≈ Blue Heath Butterfly
- C827BA
≈ Explosive Purple
Bộ ba +120° +240°
- 9B45F0
Sweet Desire
- B46700
≈ Umber
- 009182
≈ Silk Sari
Bổ túc chia +150° +210°
- 9B45F0
Sweet Desire
- 967A00
≈ Cerignola Olive
- 00964D
≈ Garnish
Bộ bốn +90° +180° +270°
- 9B45F0
Sweet Desire
- E22A00
≈ Dynamite Red
- 6E8900
≈ Swamp Green
- 008CA1
≈ Parrot Flight
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 4.66:1 · APCA Lc 72
Ag
AATrên nền đen
WCAG 4.50:1 · APCA Lc 30
Màu chữ tốt nhất: #FFFFFF
WCAG 4.66:1 (AA) · APCA Lc 72
Contrast pairs
Đoạn mã
CSS
:root {
--sweet-desire: #9b45f0;
--sweet-desire-rgb: 155 69 240;
--sweet-desire-oklch: oklch(0.589 0.242 302.4);
}
.element {
color: var(--sweet-desire);
background-color: hsl(270 85% 61%);
border-color: oklch(0.589 0.242 302.4);
}Tailwind CSS v4
@theme {
--color-sweet-desire: #9b45f0;
--color-sweet-desire-50: #ffe4ff;
--color-sweet-desire-100: #fad4ff;
--color-sweet-desire-200: #ebb9ff;
--color-sweet-desire-300: #d393ff;
--color-sweet-desire-400: #bc70ff;
--color-sweet-desire-500: #a845ff;
--color-sweet-desire-600: #8e3cdd;
--color-sweet-desire-700: #7230b2;
--color-sweet-desire-800: #522387;
--color-sweet-desire-900: #391760;
--color-sweet-desire-950: #240642;
}SCSS
$sweet-desire: #9b45f0;
$sweet-desire-rgb: 155, 69, 240;
$sweet-desire-light: mix(#fff, $sweet-desire, 20%);
$sweet-desire-dark: mix(#000, $sweet-desire, 20%);
.element {
color: $sweet-desire;
box-shadow: 0 0 0 2px rgba($sweet-desire, 0.35);
}