Nearest named color · #8766AC
#8766AC
Nearest named color: Lavish Spending
#8766AC (rgb(135 102 172), hsl(268 30% 54%), oklch(0.572 0.11 304.9)) is closest to the named color Lavish Spending. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#8766AC
oklch(0.572 0.11 304.9)
Color conversions
- HEX
- #8766ac
- RGB
- rgb(135 102 172)
- HSL
- hsl(268 30% 54%)
- HWB
- hwb(268 40% 33%)
- OKLCH
- oklch(0.572 0.11 304.9)
- OKLab
- oklab(0.572 0.063 -0.091)
- CIE Lab
- lab(48.78 24.36 -32.76)
- LCH
- lch(48.78 40.82 306.6)
- CMYK
- cmyk(22% 41% 0% 33%)
Tints · Shades · Tones
Tints
- 9275B5
- 9E84BD
- A993C6
- B5A2CE
- C1B1D6
- CDC0DF
- DAD0E7
- E6DFEF
- F2EFF7
Shades
- 755895
- 634A7F
- 513C69
- 412F54
- 312340
- 21172D
- 130C1B
- 06040B
- 010001
Tones
- 8669A8
- 866CA4
- 856F9F
- 84719B
- 837497
- 837792
- 82798E
- 817B89
- 817E85
Color harmonies
Complementary +180°
- 8766AC
Lavish Spending
- 698334
≈ Swamp Moss
Analogous -30° +30°
- 8766AC
Lavish Spending
- 6572B9
≈ Gladiola Blue
- 9F5D92
≈ Bermuda Onion
Triadic +120° +240°
- 8766AC
Lavish Spending
- A46926
≈ Theatre Gold
- 008B7F
≈ Go Go Green
Split-complementary +150° +210°
- 8766AC
Lavish Spending
- 8D7616
≈ Jīn Zōng Gold
- 388B5A
≈ Irish
Tetradic +90° +180° +270°
- 8766AC
Lavish Spending
- AF5E4A
≈ Ant Red
- 698334
≈ Swamp Moss
- 00869D
≈ Eastern Blue
Contrast & accessibility
Ag
AAOn white
WCAG 4.63:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.52:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--lavish-spending: #8766ac;
--lavish-spending-rgb: 135 102 172;
--lavish-spending-oklch: oklch(0.572 0.11 304.9);
}
.element {
color: var(--lavish-spending);
background-color: hsl(268 30% 54%);
border-color: oklch(0.572 0.11 304.9);
}Tailwind CSS v4
@theme {
--color-lavish-spending: #8766ac;
--color-lavish-spending-50: #fdeeff;
--color-lavish-spending-100: #f1dfff;
--color-lavish-spending-200: #e0c8fa;
--color-lavish-spending-300: #c6a9e4;
--color-lavish-spending-400: #ad8ed3;
--color-lavish-spending-500: #9772c1;
--color-lavish-spending-600: #8061a3;
--color-lavish-spending-700: #664d83;
--color-lavish-spending-800: #4a3862;
--color-lavish-spending-900: #332745;
--color-lavish-spending-950: #1f152c;
}SCSS
$lavish-spending: #8766ac;
$lavish-spending-rgb: 135, 102, 172;
$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);
}