Nearest named color · #8166C5
#8166C5
Nearest named color: Lavish Spending
#8166C5 (rgb(129 102 197), hsl(257 45% 59%), oklch(0.58 0.143 294.6)) is closest to the named color Lavish Spending. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#8166C5
oklch(0.58 0.143 294.6)
Color conversions
- HEX
- #8166c5
- RGB
- rgb(129 102 197)
- HSL
- hsl(257 45% 59%)
- HWB
- hwb(257 40% 23%)
- OKLCH
- oklch(0.58 0.143 294.6)
- OKLab
- oklab(0.58 0.06 -0.13)
- CIE Lab
- lab(49.25 27.4 -46.52)
- LCH
- lch(49.25 53.99 300.5)
- CMYK
- cmyk(35% 48% 0% 23%)
Tints · Shades · Tones
Tints
- 8C75CC
- 9885D2
- A494D8
- B0A3DE
- BDB2E4
- CAC1EA
- D7D1F0
- E4E0F5
- F1EFFA
Shades
- 6F58AB
- 5E4A92
- 4E3C79
- 3E2F61
- 2E234B
- 1F1735
- 120C21
- 06040E
- 010002
Tones
- 8169BE
- 806DB8
- 8070B1
- 8072AB
- 8075A4
- 80779D
- 807A96
- 807C8F
- 807E87
Color harmonies
Complementary +180°
- 8166C5
Lavish Spending
- 798200
≈ Verde Tropa
Analogous -30° +30°
- 8166C5
Lavish Spending
- 4F76CE
≈ Serenity’s Reign
- A359A9
≈ Orchid Dottyback
Triadic +120° +240°
- 8166C5
Lavish Spending
- B85E04
≈ Super Leaf Brown
- 008F76
≈ Observatory
Split-complementary +150° +210°
- 8166C5
Lavish Spending
- 9B7300
≈ Mesozoic Green
- 398F3F
≈ Green Ribbon
Tetradic +90° +180° +270°
- 8166C5
Lavish Spending
- C0524E
≈ Maple Red
- 798200
≈ Verde Tropa
- 008B96
≈ Tempo Teal
Contrast & accessibility
Ag
AAOn white
WCAG 4.52:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.64:1 · APCA Lc 30
Best text color: #000000
WCAG 4.64:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--lavish-spending: #8166c5;
--lavish-spending-rgb: 129 102 197;
--lavish-spending-oklch: oklch(0.58 0.143 294.6);
}
.element {
color: var(--lavish-spending);
background-color: hsl(257 45% 59%);
border-color: oklch(0.58 0.143 294.6);
}Tailwind CSS v4
@theme {
--color-lavish-spending: #8166c5;
--color-lavish-spending-50: #f9edff;
--color-lavish-spending-100: #ecdfff;
--color-lavish-spending-200: #dac8ff;
--color-lavish-spending-300: #bea8f8;
--color-lavish-spending-400: #a48cea;
--color-lavish-spending-500: #8e6fda;
--color-lavish-spending-600: #785fb8;
--color-lavish-spending-700: #604c94;
--color-lavish-spending-800: #45376f;
--color-lavish-spending-900: #2f264e;
--color-lavish-spending-950: #1c1434;
}SCSS
$lavish-spending: #8166c5;
$lavish-spending-rgb: 129, 102, 197;
$lavish-spending-light: mix(#fff, $lavish-spending, 20%);
$lavish-spending-dark: mix(#000, $lavish-spending, 20%);
.element {
color: $lavish-spending;
box-shadow: 0 0 0 2px rgba($lavish-spending, 0.35);
}