Nearest named color · #8762CC
#8762CC
Nearest named color: Lavish Spending
#8762CC (rgb(135 98 204), hsl(261 51% 59%), oklch(0.583 0.159 297.3)) is closest to the named color Lavish Spending. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#8762CC
oklch(0.583 0.159 297.3)
Color conversions
- HEX
- #8762cc
- RGB
- rgb(135 98 204)
- HSL
- hsl(261 51% 59%)
- HWB
- hwb(261 38% 20%)
- OKLCH
- oklch(0.583 0.159 297.3)
- OKLab
- oklab(0.583 0.073 -0.141)
- CIE Lab
- lab(49.26 32.81 -50.45)
- LCH
- lch(49.26 60.18 303)
- CMYK
- cmyk(34% 52% 0% 20%)
Tints · Shades · Tones
Tints
- 9272D2
- 9D82D8
- A992DE
- B4A1E3
- C0B1E8
- CCC0ED
- D9D0F2
- E5DFF7
- F2EFFB
Shades
- 7554B1
- 634797
- 513A7E
- 412D65
- 31214E
- 211637
- 130B22
- 06030F
- 010002
Tones
- 8666C5
- 856ABE
- 846DB6
- 8371AF
- 8374A7
- 8276A0
- 817998
- 817B90
- 807E88
Color harmonies
Complementary +180°
- 8762CC
Lavish Spending
- 768500
≈ Swamp Green
Analogous -30° +30°
- 8762CC
Lavish Spending
- 5273D8
≈ Cornflower
- AB54AB
≈ Orchid Dottyback
Triadic +120° +240°
- 8762CC
Lavish Spending
- B76100
≈ Super Leaf Brown
- 00907A
≈ Aqua Waters
Split-complementary +150° +210°
- 8762CC
Lavish Spending
- 997500
≈ Mesozoic Green
- 1F933E
≈ Pixelated Grass
Tetradic +90° +180° +270°
- 8762CC
Lavish Spending
- C84D44
≈ Terra Cotta Red
- 768500
≈ Swamp Green
- 008B99
≈ Atlantic Blue
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.64:1 · APCA Lc 31
Best text color: #000000
WCAG 4.64:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--lavish-spending: #8762cc;
--lavish-spending-rgb: 135 98 204;
--lavish-spending-oklch: oklch(0.583 0.159 297.3);
}
.element {
color: var(--lavish-spending);
background-color: hsl(261 51% 59%);
border-color: oklch(0.583 0.159 297.3);
}Tailwind CSS v4
@theme {
--color-lavish-spending: #8762cc;
--color-lavish-spending-50: #fbecff;
--color-lavish-spending-100: #efddff;
--color-lavish-spending-200: #dec5ff;
--color-lavish-spending-300: #c3a4fd;
--color-lavish-spending-400: #aa88f0;
--color-lavish-spending-500: #946ae0;
--color-lavish-spending-600: #7d5abd;
--color-lavish-spending-700: #644898;
--color-lavish-spending-800: #483472;
--color-lavish-spending-900: #322451;
--color-lavish-spending-950: #1e1236;
}SCSS
$lavish-spending: #8762cc;
$lavish-spending-rgb: 135, 98, 204;
$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);
}