Nearest named color · #9D97B3
#9D97B3
Nearest named color: Wizard’s Brew
#9D97B3 (rgb(157 151 179), hsl(253 16% 65%), oklch(0.691 0.041 295.1)) is closest to the named color Wizard’s Brew. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9D97B3
oklch(0.691 0.041 295.1)
Color conversions
- HEX
- #9d97b3
- RGB
- rgb(157 151 179)
- HSL
- hsl(253 16% 65%)
- HWB
- hwb(253 59% 30%)
- OKLCH
- oklch(0.691 0.041 295.1)
- OKLab
- oklab(0.691 0.017 -0.037)
- CIE Lab
- lab(63.69 6.5 -13.83)
- LCH
- lch(63.69 15.28 295.2)
- CMYK
- cmyk(12% 16% 0% 30%)
Tints · Shades · Tones
Tints
- A6A1BA
- B0ABC2
- B9B5CA
- C3C0D1
- CDCAD9
- D7D4E0
- E1DFE8
- EBE9F0
- F5F4F7
Shades
- 88839B
- 736F84
- 5F5C6E
- 4C4958
- 3A3743
- 28262F
- 18171D
- 09080C
- 010101
Tones
- 9A95AE
- 9792A9
- 9490A4
- 918E9E
- 8E8C99
- 8B8994
- 89878F
- 86858A
- 838285
Color harmonies
Complementary +180°
- 9D97B3
Wizard’s Brew
- 9A9F82
≈ Fennelly
Analogous -30° +30°
- 9D97B3
Wizard’s Brew
- 8F9CB6
≈ Periwinkle Dusk
- A993AA
≈ Garden Flower
Triadic +120° +240°
- 9D97B3
Wizard’s Brew
- B09584
≈ Mexican Sand
- 82A49A
≈ Beckett
Split-complementary +150° +210°
- 9D97B3
Wizard’s Brew
- A79A7F
≈ Mohalla
- 8CA38C
≈ Envy
Tetradic +90° +180° +270°
- 9D97B3
Wizard’s Brew
- B4928F
≈ Cherry Taupe
- 9A9F82
≈ Fennelly
- 7EA3A8
≈ Tourmaline
Contrast & accessibility
Ag
FailOn white
WCAG 2.79:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.51:1 · APCA Lc 48
Best text color: #000000
WCAG 7.51:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--wizard-s-brew: #9d97b3;
--wizard-s-brew-rgb: 157 151 179;
--wizard-s-brew-oklch: oklch(0.691 0.041 295.1);
}
.element {
color: var(--wizard-s-brew);
background-color: hsl(253 16% 65%);
border-color: oklch(0.691 0.041 295.1);
}Tailwind CSS v4
@theme {
--color-wizard-s-brew: #9d97b3;
--color-wizard-s-brew-50: #f6f3ff;
--color-wizard-s-brew-100: #e9e5f4;
--color-wizard-s-brew-200: #d6d1e4;
--color-wizard-s-brew-300: #b9b3ca;
--color-wizard-s-brew-400: #a09ab5;
--color-wizard-s-brew-500: #88819f;
--color-wizard-s-brew-600: #736d86;
--color-wizard-s-brew-700: #5c576c;
--color-wizard-s-brew-800: #434050;
--color-wizard-s-brew-900: #2e2c37;
--color-wizard-s-brew-950: #1b1922;
}SCSS
$wizard-s-brew: #9d97b3;
$wizard-s-brew-rgb: 157, 151, 179;
$wizard-s-brew-light: mix(#fff, $wizard-s-brew, 20%);
$wizard-s-brew-dark: mix(#000, $wizard-s-brew, 20%);
.element {
color: $wizard-s-brew;
box-shadow: 0 0 0 2px rgba($wizard-s-brew, 0.35);
}