Nearest named color · #8C5EC3
#8C5EC3
Nearest named color: Lusty Lavender
#8C5EC3 (rgb(140 94 195), hsl(267 46% 57%), oklch(0.576 0.154 302.9)) is closest to the named color Lusty Lavender. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#8C5EC3
oklch(0.576 0.154 302.9)
Color conversions
- HEX
- #8c5ec3
- RGB
- rgb(140 94 195)
- HSL
- hsl(267 46% 57%)
- HWB
- hwb(267 37% 24%)
- OKLCH
- oklch(0.576 0.154 302.9)
- OKLab
- oklab(0.576 0.084 -0.13)
- CIE Lab
- lab(48.47 34.67 -46.51)
- LCH
- lch(48.47 58.01 306.7)
- CMYK
- cmyk(28% 52% 0% 24%)
Tints · Shades · Tones
Tints
- 976ECA
- A27FD0
- AD8FD7
- B89EDD
- C4AEE3
- CFBEE9
- DBCEEF
- E7DEF4
- F3EFFA
Shades
- 7951A9
- 674490
- 553778
- 432B60
- 331F4A
- 231434
- 140A20
- 07030E
- 010002
Tones
- 8B62BD
- 8967B6
- 886AB0
- 876EA9
- 8671A3
- 84759C
- 837895
- 827B8E
- 817D87
Color harmonies
Complementary +180°
- 8C5EC3
Lusty Lavender
- 6A8500
≈ Swamp Green
Analogous -30° +30°
- 8C5EC3
Lusty Lavender
- 5C6FD3
≈ Cornflower
- AC51A0
≈ Orchid Dottyback
Triadic +120° +240°
- 8C5EC3
Lusty Lavender
- AE6400
≈ Ginger
- 008C7F
≈ Greenlake
Split-complementary +150° +210°
- 8C5EC3
Lusty Lavender
- 917600
≈ Bhūrā Brown
- 00914C
≈ Capitalino Cactus
Tetradic +90° +180° +270°
- 8C5EC3
Lusty Lavender
- C34F38
≈ Grenadier
- 6A8500
≈ Swamp Green
- 00889C
≈ Toy Blue
Contrast & accessibility
Ag
AAOn white
WCAG 4.66:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.50:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.66:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--lusty-lavender: #8c5ec3;
--lusty-lavender-rgb: 140 94 195;
--lusty-lavender-oklch: oklch(0.576 0.154 302.9);
}
.element {
color: var(--lusty-lavender);
background-color: hsl(267 46% 57%);
border-color: oklch(0.576 0.154 302.9);
}Tailwind CSS v4
@theme {
--color-lusty-lavender: #8c5ec3;
--color-lusty-lavender-50: #ffebff;
--color-lusty-lavender-100: #f4dcff;
--color-lusty-lavender-200: #e3c4ff;
--color-lusty-lavender-300: #caa3f7;
--color-lusty-lavender-400: #b186e9;
--color-lusty-lavender-500: #9b68d9;
--color-lusty-lavender-600: #8358b7;
--color-lusty-lavender-700: #694693;
--color-lusty-lavender-800: #4c336f;
--color-lusty-lavender-900: #35234e;
--color-lusty-lavender-950: #201134;
}SCSS
$lusty-lavender: #8c5ec3;
$lusty-lavender-rgb: 140, 94, 195;
$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);
}