Warna bernama terdekat · #8B4EC5
#8B4EC5
Warna bernama terdekat: Lusty Lavender
#8B4EC5 (rgb(139 78 197), hsl(271 51% 54%), oklch(0.552 0.181 304.8)) paling mendekati warna bernama Lusty Lavender. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#8B4EC5
oklch(0.552 0.181 304.8)
Konversi warna
- HEX
- #8b4ec5
- RGB
- rgb(139 78 197)
- HSL
- hsl(271 51% 54%)
- HWB
- hwb(271 31% 23%)
- OKLCH
- oklch(0.552 0.181 304.8)
- OKLab
- oklab(0.552 0.103 -0.149)
- CIE Lab
- lab(45.07 43.13 -53.08)
- LCH
- lch(45.07 68.4 309.1)
- CMYK
- cmyk(29% 60% 0% 23%)
Tint · Shade · Tone
Tint
- 9661CC
- A173D3
- AC85D9
- B896DF
- C3A8E5
- CFB9EB
- DBCAF0
- E7DCF5
- F3EDFA
Shade
- 7843AB
- 663892
- 542D79
- 432361
- 32194B
- 230F35
- 140721
- 07020E
- 010002
Tone
- 8A55BF
- 895BB8
- 8861B2
- 8666AB
- 856BA4
- 84709D
- 837496
- 82788F
- 817C88
Harmoni warna
Komplementer +180°
- 8B4EC5
Lusty Lavender
- 607F00
≈ Enchanted Forest
Analog -30° +30°
- 8B4EC5
Lusty Lavender
- 5662D9
≈ Thick Blue
- AE3D9B
≈ Purple Cactus Flower
Triadik +120° +240°
- 8B4EC5
Lusty Lavender
- A26000
≈ Soft Tone Ink
- 008479
≈ Egyptian Green
Split-komplementer +150° +210°
- 8B4EC5
Lusty Lavender
- 877000
≈ Sunlit Kelp Green
- 00884C
≈ Real Turquoise
Tetradik +90° +180° +270°
- 8B4EC5
Lusty Lavender
- C53A16
≈ Gazpacho
- 607F00
≈ Enchanted Forest
- 008095
≈ Craftsman Blue
Kontras & aksesibilitas
Ag
AADi atas putih
WCAG 5.25:1 · APCA Lc 76
Ag
FailDi atas hitam
WCAG 3.99:1 · APCA Lc 26
Warna teks terbaik: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
Cuplikan kode
CSS
:root {
--lusty-lavender: #8b4ec5;
--lusty-lavender-rgb: 139 78 197;
--lusty-lavender-oklch: oklch(0.552 0.181 304.8);
}
.element {
color: var(--lusty-lavender);
background-color: hsl(271 51% 54%);
border-color: oklch(0.552 0.181 304.8);
}Tailwind CSS v4
@theme {
--color-lusty-lavender: #8b4ec5;
--color-lusty-lavender-50: #ffe8ff;
--color-lusty-lavender-100: #f7d9ff;
--color-lusty-lavender-200: #e8c0ff;
--color-lusty-lavender-300: #cf9dff;
--color-lusty-lavender-400: #b77ff3;
--color-lusty-lavender-500: #a25ee4;
--color-lusty-lavender-600: #8950c0;
--color-lusty-lavender-700: #6e409b;
--color-lusty-lavender-800: #4f2e75;
--color-lusty-lavender-900: #372052;
--color-lusty-lavender-950: #220e37;
}SCSS
$lusty-lavender: #8b4ec5;
$lusty-lavender-rgb: 139, 78, 197;
$lusty-lavender-light: mix(#fff, $lusty-lavender, 20%);
$lusty-lavender-dark: mix(#000, $lusty-lavender, 20%);
.element {
color: $lusty-lavender;
box-shadow: 0 0 0 2px rgba($lusty-lavender, 0.35);
}