Nearest named color · #8C51B9
#8C51B9
Nearest named color: Lusty Lavender
#8C51B9 (rgb(140 81 185), hsl(274 43% 52%), oklch(0.549 0.163 308.1)) is closest to the named color Lusty Lavender. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#8C51B9
oklch(0.549 0.163 308.1)
Color conversions
- HEX
- #8c51b9
- RGB
- rgb(140 81 185)
- HSL
- hsl(274 43% 52%)
- HWB
- hwb(274 32% 27%)
- OKLCH
- oklch(0.549 0.163 308.1)
- OKLab
- oklab(0.549 0.101 -0.128)
- CIE Lab
- lab(45.19 39.68 -45.93)
- LCH
- lch(45.19 60.69 310.8)
- CMYK
- cmyk(24% 56% 0% 27%)
Tints · Shades · Tones
Tints
- 9763C1
- A275C8
- AD86D0
- B997D7
- C4A8DE
- D0B9E5
- DBCBEC
- E7DCF2
- F3EDF9
Shades
- 7945A0
- 673A89
- 552F71
- 43245B
- 331A46
- 231031
- 14071E
- 07020D
- 010002
Tones
- 8B57B4
- 8A5DAE
- 8962A9
- 8767A4
- 866C9E
- 857098
- 847492
- 83788D
- 817C86
Color harmonies
Complementary +180°
- 8C51B9
Lusty Lavender
- 588000
≈ Avocado
Analogous -30° +30°
- 8C51B9
Lusty Lavender
- 5E62CE
≈ Dark Periwinkle
- AB4392
≈ Romantic Rose
Triadic +120° +240°
- 8C51B9
Lusty Lavender
- 9E6200
≈ Raw Sienna
- 00837C
≈ Blue Winged Teal
Split-complementary +150° +210°
- 8C51B9
Lusty Lavender
- 837100
≈ Sunlit Kelp Green
- 008754
≈ Pixel Nature
Tetradic +90° +180° +270°
- 8C51B9
Lusty Lavender
- BC451A
≈ Pindjur Red
- 588000
≈ Avocado
- 007F98
≈ Pacific Pleasure
Contrast & accessibility
Ag
AAOn white
WCAG 5.25:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.99:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--lusty-lavender: #8c51b9;
--lusty-lavender-rgb: 140 81 185;
--lusty-lavender-oklch: oklch(0.549 0.163 308.1);
}
.element {
color: var(--lusty-lavender);
background-color: hsl(274 43% 52%);
border-color: oklch(0.549 0.163 308.1);
}Tailwind CSS v4
@theme {
--color-lusty-lavender: #8c51b9;
--color-lusty-lavender-50: #ffe9ff;
--color-lusty-lavender-100: #f9d9ff;
--color-lusty-lavender-200: #eac1ff;
--color-lusty-lavender-300: #d19ff6;
--color-lusty-lavender-400: #b981e8;
--color-lusty-lavender-500: #a462d7;
--color-lusty-lavender-600: #8b54b6;
--color-lusty-lavender-700: #6f4392;
--color-lusty-lavender-800: #51306e;
--color-lusty-lavender-900: #38214e;
--color-lusty-lavender-950: #231033;
}SCSS
$lusty-lavender: #8c51b9;
$lusty-lavender-rgb: 140, 81, 185;
$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);
}