Nearest named color · #8A51C0
#8A51C0
Nearest named color: Lusty Lavender
#8A51C0 (rgb(138 81 192), hsl(271 47% 54%), oklch(0.552 0.171 305.2)) is closest to the named color Lusty Lavender. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#8A51C0
oklch(0.552 0.171 305.2)
Color conversions
- HEX
- #8a51c0
- RGB
- rgb(138 81 192)
- HSL
- hsl(271 47% 54%)
- HWB
- hwb(271 32% 25%)
- OKLCH
- oklch(0.552 0.171 305.2)
- OKLab
- oklab(0.552 0.098 -0.139)
- CIE Lab
- lab(45.29 40.39 -49.85)
- LCH
- lch(45.29 64.16 309)
- CMYK
- cmyk(28% 58% 0% 25%)
Tints · Shades · Tones
Tints
- 9563C7
- A075CE
- AC86D5
- B797DC
- C3A9E2
- CEBAE8
- DACBEE
- E6DCF4
- F3EEFA
Shades
- 7745A7
- 653A8E
- 532F76
- 42245F
- 321A49
- 221034
- 140720
- 07020E
- 010002
Tones
- 8957BA
- 885DB4
- 8762AE
- 8667A8
- 856CA2
- 84709B
- 837595
- 82798E
- 817C87
Color harmonies
Complementary +180°
- 8A51C0
Lusty Lavender
- 5F7F00
≈ Enchanted Forest
Analogous -30° +30°
- 8A51C0
Lusty Lavender
- 5863D3
≈ Borage Blue
- AB4298
≈ Purple Cactus Flower
Triadic +120° +240°
- 8A51C0
Lusty Lavender
- A26000
≈ Soft Tone Ink
- 00847A
≈ Egyptian Green
Split-complementary +150° +210°
- 8A51C0
Lusty Lavender
- 877000
≈ Sunlit Kelp Green
- 00884D
≈ Real Turquoise
Tetradic +90° +180° +270°
- 8A51C0
Lusty Lavender
- C1401F
≈ Shēn Chéng Orange
- 5F7F00
≈ Enchanted Forest
- 008096
≈ Craftsman Blue
Contrast & accessibility
Ag
AAOn white
WCAG 5.22:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.01:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--lusty-lavender: #8a51c0;
--lusty-lavender-rgb: 138 81 192;
--lusty-lavender-oklch: oklch(0.552 0.171 305.2);
}
.element {
color: var(--lusty-lavender);
background-color: hsl(271 47% 54%);
border-color: oklch(0.552 0.171 305.2);
}Tailwind CSS v4
@theme {
--color-lusty-lavender: #8a51c0;
--color-lusty-lavender-50: #ffe9ff;
--color-lusty-lavender-100: #f7d9ff;
--color-lusty-lavender-200: #e8c1ff;
--color-lusty-lavender-300: #cf9ffb;
--color-lusty-lavender-400: #b681ee;
--color-lusty-lavender-500: #a161df;
--color-lusty-lavender-600: #8853bc;
--color-lusty-lavender-700: #6d4297;
--color-lusty-lavender-800: #4f3072;
--color-lusty-lavender-900: #372150;
--color-lusty-lavender-950: #220f36;
}SCSS
$lusty-lavender: #8a51c0;
$lusty-lavender-rgb: 138, 81, 192;
$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);
}