Nearest named color · #C638B7
#C638B7
Nearest named color: Mystifying Magenta
#C638B7 (rgb(198 56 183), hsl(306 56% 50%), oklch(0.597 0.223 332.7)) is closest to the named color Mystifying Magenta. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#C638B7
oklch(0.597 0.223 332.7)
Color conversions
- HEX
- #c638b7
- RGB
- rgb(198 56 183)
- HSL
- hsl(306 56% 50%)
- HWB
- hwb(306 22% 22%)
- OKLCH
- oklch(0.597 0.223 332.7)
- OKLab
- oklab(0.597 0.198 -0.102)
- CIE Lab
- lab(49.82 65.75 -36.77)
- LCH
- lch(49.82 75.33 330.8)
- CMYK
- cmyk(0% 72% 8% 22%)
Tints · Shades · Tones
Tints
- CE52BF
- D568C6
- DC7CCE
- E28FD5
- E8A2DC
- EEB5E3
- F3C8EB
- F7DAF1
- FBECF8
Shades
- AC2F9F
- 922787
- 7A1F70
- 62175A
- 4B0F45
- 350831
- 21041E
- 0E010C
- 020002
Tones
- C044B2
- BA4EAD
- B457A7
- AD5FA2
- A7659C
- A06C97
- 987191
- 91768C
- 897B86
Color harmonies
Complementary +180°
- C638B7
Mystifying Magenta
- 00984F
≈ Garnish
Analogous -30° +30°
- C638B7
Mystifying Magenta
- 9B50EA
≈ Aconite Violet
- E02473
≈ Watermelon Sugar
Triadic +120° +240°
- C638B7
Mystifying Magenta
- 997C00
≈ Cerignola Olive
- 008FA4
≈ Parrot Flight
Split-complementary +150° +210°
- C638B7
Mystifying Magenta
- 708C00
≈ Canopy
- 009385
≈ Old Benchmark
Tetradic +90° +180° +270°
- C638B7
Mystifying Magenta
- B76900
≈ Brown Orange
- 00984F
≈ Garnish
- 0086CD
≈ Water Blue
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 70
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 32
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 32
Contrast pairs
Code snippets
CSS
:root {
--mystifying-magenta: #c638b7;
--mystifying-magenta-rgb: 198 56 183;
--mystifying-magenta-oklch: oklch(0.597 0.223 332.7);
}
.element {
color: var(--mystifying-magenta);
background-color: hsl(306 56% 50%);
border-color: oklch(0.597 0.223 332.7);
}Tailwind CSS v4
@theme {
--color-mystifying-magenta: #c638b7;
--color-mystifying-magenta-50: #ffdeff;
--color-mystifying-magenta-100: #ffccff;
--color-mystifying-magenta-200: #ffaffa;
--color-mystifying-magenta-300: #fa87e5;
--color-mystifying-magenta-400: #e762d6;
--color-mystifying-magenta-500: #d432c4;
--color-mystifying-magenta-600: #b32da5;
--color-mystifying-magenta-700: #902485;
--color-mystifying-magenta-800: #6a1965;
--color-mystifying-magenta-900: #4b1147;
--color-mystifying-magenta-950: #31022e;
}SCSS
$mystifying-magenta: #c638b7;
$mystifying-magenta-rgb: 198, 56, 183;
$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);
}