Nearest named color · #C837B4
#C837B4
Nearest named color: Mystifying Magenta
#C837B4 (rgb(200 55 180), hsl(308 57% 50%), oklch(0.597 0.223 334.2)) is closest to the named color Mystifying Magenta. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#C837B4
oklch(0.597 0.223 334.2)
Color conversions
- HEX
- #c837b4
- RGB
- rgb(200 55 180)
- HSL
- hsl(308 57% 50%)
- HWB
- hwb(308 22% 22%)
- OKLCH
- oklch(0.597 0.223 334.2)
- OKLab
- oklab(0.597 0.2 -0.097)
- CIE Lab
- lab(49.93 66.24 -34.82)
- LCH
- lch(49.93 74.83 332.3)
- CMYK
- cmyk(0% 73% 10% 22%)
Tints · Shades · Tones
Tints
- D051BC
- D767C4
- DD7BCB
- E48FD3
- E9A2DB
- EFB5E2
- F4C7E9
- F8DAF1
- FCECF8
Shades
- AE2E9C
- 942685
- 7B1E6E
- 631658
- 4C0F44
- 360830
- 21031D
- 0F010C
- 020002
Tones
- C244AF
- BC4EAA
- B557A5
- AF5EA0
- A8659B
- A16B96
- 997190
- 91768B
- 897B86
Color harmonies
Complementary +180°
- C837B4
Mystifying Magenta
- 009854
≈ Garnish
Analogous -30° +30°
- C837B4
Mystifying Magenta
- 9E4FE8
≈ Lightish Purple
- E1236F
≈ Razzmatazz Lips
Triadic +120° +240°
- C837B4
Mystifying Magenta
- 977D00
≈ Cerignola Olive
- 008FA6
≈ Parrot Flight
Split-complementary +150° +210°
- C837B4
Mystifying Magenta
- 6D8D00
≈ Canopy
- 009387
≈ Old Benchmark
Tetradic +90° +180° +270°
- C837B4
Mystifying Magenta
- B66B00
≈ Indocile Tiger
- 009854
≈ Garnish
- 0086D0
≈ Calgar Blue
Contrast & accessibility
Ag
AAOn white
WCAG 4.50:1 · APCA Lc 70
Ag
AAOn black
WCAG 4.66:1 · APCA Lc 32
Best text color: #000000
WCAG 4.66:1 (AA) · APCA Lc 32
Contrast pairs
Code snippets
CSS
:root {
--mystifying-magenta: #c837b4;
--mystifying-magenta-rgb: 200 55 180;
--mystifying-magenta-oklch: oklch(0.597 0.223 334.2);
}
.element {
color: var(--mystifying-magenta);
background-color: hsl(308 57% 50%);
border-color: oklch(0.597 0.223 334.2);
}Tailwind CSS v4
@theme {
--color-mystifying-magenta: #c837b4;
--color-mystifying-magenta-50: #ffddff;
--color-mystifying-magenta-100: #ffccff;
--color-mystifying-magenta-200: #ffaef8;
--color-mystifying-magenta-300: #fc87e2;
--color-mystifying-magenta-400: #e961d3;
--color-mystifying-magenta-500: #d630c0;
--color-mystifying-magenta-600: #b52ca2;
--color-mystifying-magenta-700: #912382;
--color-mystifying-magenta-800: #6b1863;
--color-mystifying-magenta-900: #4b1046;
--color-mystifying-magenta-950: #31022d;
}SCSS
$mystifying-magenta: #c837b4;
$mystifying-magenta-rgb: 200, 55, 180;
$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);
}