Nearest named color · #B842B8
#B842B8
Nearest named color: Mystifying Magenta
#B842B8 (rgb(184 66 184), hsl(300 47% 49%), oklch(0.586 0.204 327.8)) is closest to the named color Mystifying Magenta. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#B842B8
oklch(0.586 0.204 327.8)
Color conversions
- HEX
- #b842b8
- RGB
- rgb(184 66 184)
- HSL
- hsl(300 47% 49%)
- HWB
- hwb(300 26% 28%)
- OKLCH
- oklch(0.586 0.204 327.8)
- OKLab
- oklab(0.586 0.172 -0.109)
- CIE Lab
- lab(48.85 58.72 -39.06)
- LCH
- lch(48.85 70.52 326.4)
- CMYK
- cmyk(0% 64% 0% 28%)
Tints · Shades · Tones
Tints
- C158C0
- C96CC7
- D17FCF
- D892D6
- DFA4DD
- E6B6E4
- EDC9EB
- F3DBF2
- F9EDF8
Shades
- A038A0
- 882F88
- 712571
- 5B1C5B
- 451445
- 310B31
- 1E051E
- 0C010C
- 020002
Tones
- B34CB3
- AE54AD
- A95BA8
- A462A3
- 9F689D
- 996D97
- 937292
- 8D778C
- 877C86
Color harmonies
Complementary +180°
- B842B8
Mystifying Magenta
- 009639
≈ Pixelated Grass
Analogous -30° +30°
- B842B8
Mystifying Magenta
- 8D56E3
≈ Gloomy Purple
- D2327C
≈ Fuchsia Purple
Triadic +120° +240°
- B842B8
Mystifying Magenta
- 9A7700
≈ Mesozoic Green
- 008C9B
≈ Coral Coast
Split-complementary +150° +210°
- B842B8
Mystifying Magenta
- 768600
≈ Swamp Green
- 00917C
≈ Aqua Waters
Tetradic +90° +180° +270°
- B842B8
Mystifying Magenta
- B86300
≈ Camel Fur
- 009639
≈ Pixelated Grass
- 0085BF
≈ Ibiza Blue
Contrast & accessibility
Ag
AAOn white
WCAG 4.65:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.50:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.65:1 (AA) · APCA Lc 71
Contrast pairs
Code snippets
CSS
:root {
--mystifying-magenta: #b842b8;
--mystifying-magenta-rgb: 184 66 184;
--mystifying-magenta-oklch: oklch(0.586 0.204 327.8);
}
.element {
color: var(--mystifying-magenta);
background-color: hsl(300 47% 49%);
border-color: oklch(0.586 0.204 327.8);
}Tailwind CSS v4
@theme {
--color-mystifying-magenta: #b842b8;
--color-mystifying-magenta-50: #ffe1ff;
--color-mystifying-magenta-100: #ffd0ff;
--color-mystifying-magenta-200: #ffb4fe;
--color-mystifying-magenta-300: #f08ee9;
--color-mystifying-magenta-400: #dc6bda;
--color-mystifying-magenta-500: #c943c9;
--color-mystifying-magenta-600: #a93ba9;
--color-mystifying-magenta-700: #882f88;
--color-mystifying-magenta-800: #642167;
--color-mystifying-magenta-900: #461649;
--color-mystifying-magenta-950: #2d062f;
}SCSS
$mystifying-magenta: #b842b8;
$mystifying-magenta-rgb: 184, 66, 184;
$mystifying-magenta-light: mix(#fff, $mystifying-magenta, 20%);
$mystifying-magenta-dark: mix(#000, $mystifying-magenta, 20%);
.element {
color: $mystifying-magenta;
box-shadow: 0 0 0 2px rgba($mystifying-magenta, 0.35);
}