Nearest named color · #9162BA
#9162BA
Nearest named color: Lusty Lavender
#9162BA (rgb(145 98 186), hsl(272 39% 56%), oklch(0.583 0.138 307.3)) is closest to the named color Lusty Lavender. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9162BA
oklch(0.583 0.138 307.3)
Color conversions
- HEX
- #9162ba
- RGB
- rgb(145 98 186)
- HSL
- hsl(272 39% 56%)
- HWB
- hwb(272 38% 27%)
- OKLCH
- oklch(0.583 0.138 307.3)
- OKLab
- oklab(0.583 0.084 -0.11)
- CIE Lab
- lab(49.54 32.37 -39.6)
- LCH
- lch(49.54 51.14 309.3)
- CMYK
- cmyk(22% 47% 0% 27%)
Tints · Shades · Tones
Tints
- 9C72C1
- A681C9
- B191D0
- BCA0D7
- C7B0DE
- D2BFE5
- DDCFEC
- E8DFF2
- F4EFF9
Shades
- 7D54A1
- 6A4789
- 583A72
- 462D5C
- 352146
- 251632
- 150B1E
- 07030D
- 010002
Tones
- 8F66B5
- 8E69AF
- 8C6DA9
- 8A70A4
- 89739E
- 877698
- 857892
- 837B8C
- 827E86
Color harmonies
Complementary +180°
- 9162BA
Lusty Lavender
- 64891D
≈ Weeping Fig
Analogous -30° +30°
- 9162BA
Lusty Lavender
- 6870CB
≈ C64 Purple
- AD5798
≈ Brilliant Carmine
Triadic +120° +240°
- 9162BA
Lusty Lavender
- AC6900
≈ Butter Fudge
- 008E85
≈ Aqua Experience
Split-complementary +150° +210°
- 9162BA
Lusty Lavender
- 8F7A00
≈ Moscow Papyrus
- 009359
≈ Emerald Isle
Tetradic +90° +180° +270°
- 9162BA
Lusty Lavender
- BE593A
≈ Tartare
- 64891D
≈ Weeping Fig
- 0089A3
≈ Gogo Blue
Contrast & accessibility
Ag
AAOn white
WCAG 4.50:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.66:1 · APCA Lc 31
Best text color: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--lusty-lavender: #9162ba;
--lusty-lavender-rgb: 145 98 186;
--lusty-lavender-oklch: oklch(0.583 0.138 307.3);
}
.element {
color: var(--lusty-lavender);
background-color: hsl(272 39% 56%);
border-color: oklch(0.583 0.138 307.3);
}Tailwind CSS v4
@theme {
--color-lusty-lavender: #9162ba;
--color-lusty-lavender-50: #ffebff;
--color-lusty-lavender-100: #f6dcff;
--color-lusty-lavender-200: #e6c4ff;
--color-lusty-lavender-300: #cca4ed;
--color-lusty-lavender-400: #b487de;
--color-lusty-lavender-500: #9f6acc;
--color-lusty-lavender-600: #865aac;
--color-lusty-lavender-700: #6b488b;
--color-lusty-lavender-800: #4e3468;
--color-lusty-lavender-900: #362449;
--color-lusty-lavender-950: #211230;
}SCSS
$lusty-lavender: #9162ba;
$lusty-lavender-rgb: 145, 98, 186;
$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);
}