Nearest named color · #845BA4
#845BA4
Nearest named color: Lusty Lavender
#845BA4 (rgb(132 91 164), hsl(274 29% 50%), oklch(0.545 0.118 308.8)) is closest to the named color Lusty Lavender. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#845BA4
oklch(0.545 0.118 308.8)
Color conversions
- HEX
- #845ba4
- RGB
- rgb(132 91 164)
- HSL
- hsl(274 29% 50%)
- HWB
- hwb(274 36% 36%)
- OKLCH
- oklch(0.545 0.118 308.8)
- OKLab
- oklab(0.545 0.074 -0.092)
- CIE Lab
- lab(45.47 28.01 -33.26)
- LCH
- lch(45.47 43.48 310.1)
- CMYK
- cmyk(20% 45% 0% 36%)
Tints · Shades · Tones
Tints
- 906BAD
- 9C7BB7
- A88BC0
- B49BC9
- C0ABD2
- CCBCDB
- D9CCE4
- E5DDED
- F2EEF6
Shades
- 724E8E
- 604179
- 4F3564
- 3F2950
- 2F1E3D
- 20132B
- 12091A
- 06030A
- 010001
Tones
- 845FA1
- 83639D
- 83679A
- 836B97
- 826F93
- 82728F
- 81768C
- 817988
- 807D84
Color harmonies
Complementary +180°
- 845BA4
Lusty Lavender
- 5A7D29
≈ Master Chief
Analogous -30° +30°
- 845BA4
Lusty Lavender
- 6267B3
≈ Bluish Purple Anemone
- 9C5287
≈ Purple Zergling
Triadic +120° +240°
- 845BA4
Lusty Lavender
- 9C6102
≈ Raw Sienna
- 00817B
≈ Blue Winged Teal
Split-complementary +150° +210°
- 845BA4
Lusty Lavender
- 817000
≈ Sunlit Kelp Green
- 188456
≈ Kākāriki Green
Tetradic +90° +180° +270°
- 845BA4
Lusty Lavender
- A95539
≈ Hyacinth Red
- 5A7D29
≈ Master Chief
- 007D97
≈ Mosaic Blue
Contrast & accessibility
Ag
AAOn white
WCAG 5.23:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.01:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--lusty-lavender: #845ba4;
--lusty-lavender-rgb: 132 91 164;
--lusty-lavender-oklch: oklch(0.545 0.118 308.8);
}
.element {
color: var(--lusty-lavender);
background-color: hsl(274 29% 50%);
border-color: oklch(0.545 0.118 308.8);
}Tailwind CSS v4
@theme {
--color-lusty-lavender: #845ba4;
--color-lusty-lavender-50: #ffecff;
--color-lusty-lavender-100: #f5ddff;
--color-lusty-lavender-200: #e4c7fa;
--color-lusty-lavender-300: #cba6e4;
--color-lusty-lavender-400: #b38bd4;
--color-lusty-lavender-500: #9d6ec1;
--color-lusty-lavender-600: #855ea3;
--color-lusty-lavender-700: #6a4b83;
--color-lusty-lavender-800: #4d3762;
--color-lusty-lavender-900: #362545;
--color-lusty-lavender-950: #21142d;
}SCSS
$lusty-lavender: #845ba4;
$lusty-lavender-rgb: 132, 91, 164;
$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);
}