Màu có tên gần nhất · #8A33E2
#8A33E2
Màu có tên gần nhất: Hokkaido Lavender
#8A33E2 (rgb(138 51 226), hsl(270 75% 54%), oklch(0.54 0.243 300.8)) gần nhất với màu có tên Hokkaido Lavender. 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.
#8A33E2
oklch(0.54 0.243 300.8)
Chuyển đổi màu
- HEX
- #8a33e2
- RGB
- rgb(138 51 226)
- HSL
- hsl(270 75% 54%)
- HWB
- hwb(270 20% 11%)
- OKLCH
- oklch(0.54 0.243 300.8)
- OKLab
- oklab(0.54 0.125 -0.209)
- CIE Lab
- lab(42.21 60.23 -74.32)
- LCH
- lch(42.21 95.67 309)
- CMYK
- cmyk(39% 77% 0% 11%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 944FE7
- 9F66EB
- AA7BEF
- B68FF3
- C1A2F6
- CDB5F9
- D9C7FB
- E6DAFD
- F2ECFE
Sắc đậm
- 772BC4
- 6523A8
- 531C8C
- 421471
- 320D57
- 22073E
- 140327
- 070112
- 010003
Sắc xám
- 8941D9
- 874CD0
- 8656C6
- 855EBD
- 8465B3
- 836BAA
- 8271A0
- 817696
- 817B8B
Hòa sắc
Bổ túc +180°
- 8A33E2
Hokkaido Lavender
- 657900
≈ Topiary Green
Tương đồng -30° +30°
- 8A33E2
Hokkaido Lavender
- 4253F9
≈ Hooloovoo Blue
- B605AE
≈ Energic Eggplant
Bộ ba +120° +240°
- 8A33E2
Hokkaido Lavender
- A25A00
≈ Raw Umber
- 008172
≈ Green Garlands
Bổ túc chia +150° +210°
- 8A33E2
Hokkaido Lavender
- 876B00
≈ Muddy Brown
- 00853E
≈ Philippine Green
Bộ bốn +90° +180° +270°
- 8A33E2
Hokkaido Lavender
- CD1800
≈ Highway to Hell
- 657900
≈ Topiary Green
- 007D8D
≈ Metallic Seaweed
Tương phản và khả năng tiếp cận
Ag
AATrên nền trắng
WCAG 5.74:1 · APCA Lc 78
Ag
FailTrên nền đen
WCAG 3.65:1 · APCA Lc 24
Màu chữ tốt nhất: #FFFFFF
WCAG 5.74:1 (AA) · APCA Lc 78
Contrast pairs
Đoạn mã
CSS
:root {
--hokkaido-lavender: #8a33e2;
--hokkaido-lavender-rgb: 138 51 226;
--hokkaido-lavender-oklch: oklch(0.54 0.243 300.8);
}
.element {
color: var(--hokkaido-lavender);
background-color: hsl(270 75% 54%);
border-color: oklch(0.54 0.243 300.8);
}Tailwind CSS v4
@theme {
--color-hokkaido-lavender: #8a33e2;
--color-hokkaido-lavender-50: #ffe5ff;
--color-hokkaido-lavender-100: #f8d4ff;
--color-hokkaido-lavender-200: #e9b9ff;
--color-hokkaido-lavender-300: #d194ff;
--color-hokkaido-lavender-400: #b971ff;
--color-hokkaido-lavender-500: #a546ff;
--color-hokkaido-lavender-600: #8b3de0;
--color-hokkaido-lavender-700: #6f31b4;
--color-hokkaido-lavender-800: #502389;
--color-hokkaido-lavender-900: #381861;
--color-hokkaido-lavender-950: #230642;
}SCSS
$hokkaido-lavender: #8a33e2;
$hokkaido-lavender-rgb: 138, 51, 226;
$hokkaido-lavender-light: mix(#fff, $hokkaido-lavender, 20%);
$hokkaido-lavender-dark: mix(#000, $hokkaido-lavender, 20%);
.element {
color: $hokkaido-lavender;
box-shadow: 0 0 0 2px rgba($hokkaido-lavender, 0.35);
}