Nearest named color · #B54E9A
#B54E9A
Nearest named color: Magenta Memoir
#B54E9A (rgb(181 78 154), hsl(316 41% 51%), oklch(0.581 0.161 338.8)) is closest to the named color Magenta Memoir. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#B54E9A
oklch(0.581 0.161 338.8)
Color conversions
- HEX
- #b54e9a
- RGB
- rgb(181 78 154)
- HSL
- hsl(316 41% 51%)
- HWB
- hwb(316 31% 29%)
- OKLCH
- oklch(0.581 0.161 338.8)
- OKLab
- oklab(0.581 0.15 -0.058)
- CIE Lab
- lab(49.13 49.2 -21.06)
- LCH
- lch(49.13 53.51 336.8)
- CMYK
- cmyk(0% 57% 15% 29%)
Tints · Shades · Tones
Tints
- BE61A4
- C673AE
- CF84B8
- D696C2
- DEA7CC
- E5B9D6
- ECCAE0
- F3DCEB
- F9EDF5
Shades
- 9D4385
- 863871
- 6F2D5E
- 59234B
- 441939
- 300F27
- 1D0717
- 0C0209
- 020001
Tones
- B15598
- AC5B95
- A76093
- A26690
- 9D6B8D
- 986F8B
- 927488
- 8D7886
- 877C83
Color harmonies
Complementary +180°
- B54E9A
Magenta Memoir
- 00925C
≈ Emerald Isle
Analogous -30° +30°
- B54E9A
Magenta Memoir
- 965BC2
≈ Trunks Hair
- C64867
≈ Royal Banner
Triadic +120° +240°
- B54E9A
Magenta Memoir
- 8D7B00
≈ Moscow Papyrus
- 0089A5
≈ Capri Breeze
Split-complementary +150° +210°
- B54E9A
Magenta Memoir
- 5E8B00
≈ Sap Green
- 008D87
≈ Aqua Experience
Tetradic +90° +180° +270°
- B54E9A
Magenta Memoir
- AA6A00
≈ Butter Fudge
- 00925C
≈ Emerald Isle
- 007ED4
≈ Electron Blue
Contrast & accessibility
Ag
AAOn white
WCAG 4.64:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.52:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--magenta-memoir: #b54e9a;
--magenta-memoir-rgb: 181 78 154;
--magenta-memoir-oklch: oklch(0.581 0.161 338.8);
}
.element {
color: var(--magenta-memoir);
background-color: hsl(316 41% 51%);
border-color: oklch(0.581 0.161 338.8);
}Tailwind CSS v4
@theme {
--color-magenta-memoir: #b54e9a;
--color-magenta-memoir-50: #ffe4ff;
--color-magenta-memoir-100: #ffd3f8;
--color-magenta-memoir-200: #ffb9e9;
--color-magenta-memoir-300: #ef96d0;
--color-magenta-memoir-400: #da75be;
--color-magenta-memoir-500: #c753a9;
--color-magenta-memoir-600: #a8488f;
--color-magenta-memoir-700: #873973;
--color-magenta-memoir-800: #632956;
--color-magenta-memoir-900: #461b3c;
--color-magenta-memoir-950: #2d0b26;
}SCSS
$magenta-memoir: #b54e9a;
$magenta-memoir-rgb: 181, 78, 154;
$magenta-memoir-light: mix(#fff, $magenta-memoir, 20%);
$magenta-memoir-dark: mix(#000, $magenta-memoir, 20%);
.element {
color: $magenta-memoir;
box-shadow: 0 0 0 2px rgba($magenta-memoir, 0.35);
}