Nearest named color · #9C97B9
#9C97B9
Nearest named color: Wizard’s Brew
#9C97B9 (rgb(156 151 185), hsl(249 20% 66%), oklch(0.692 0.05 291.8)) is closest to the named color Wizard’s Brew. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9C97B9
oklch(0.692 0.05 291.8)
Color conversions
- HEX
- #9c97b9
- RGB
- rgb(156 151 185)
- HSL
- hsl(249 20% 66%)
- HWB
- hwb(249 59% 27%)
- OKLCH
- oklch(0.692 0.05 291.8)
- OKLab
- oklab(0.692 0.018 -0.046)
- CIE Lab
- lab(63.77 7.14 -17.06)
- LCH
- lch(63.77 18.5 292.7)
- CMYK
- cmyk(16% 18% 0% 27%)
Tints · Shades · Tones
Tints
- A5A1C0
- AFABC7
- B9B5CE
- C2C0D5
- CCCADC
- D6D4E3
- E0DFEA
- EAEAF1
- F5F4F8
Shades
- 8783A0
- 736F89
- 5F5C71
- 4C495B
- 393746
- 282631
- 18171E
- 09080D
- 010102
Tones
- 9995B3
- 9692AD
- 9390A8
- 918EA2
- 8E8C9C
- 8B8997
- 888791
- 85858B
- 838286
Color harmonies
Complementary +180°
- 9C97B9
Wizard’s Brew
- 9CA07C
≈ French Parsley
Analogous -30° +30°
- 9C97B9
Wizard’s Brew
- 8B9DBC
≈ Sailing
- AB92AF
≈ Enthroned Above
Triadic +120° +240°
- 9C97B9
Wizard’s Brew
- B69480
≈ Changing Seasons
- 7DA698
≈ Verdigreen
Split-complementary +150° +210°
- 9C97B9
Wizard’s Brew
- AC9A79
≈ Exploring Khaki
- 8BA488
≈ Gallery Green
Tetradic +90° +180° +270°
- 9C97B9
Wizard’s Brew
- B9908E
≈ Rosy Brown
- 9CA07C
≈ French Parsley
- 77A6A9
≈ Cresting Waves
Contrast & accessibility
Ag
FailOn white
WCAG 2.78:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.54:1 · APCA Lc 48
Best text color: #000000
WCAG 7.54:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--wizard-s-brew: #9c97b9;
--wizard-s-brew-rgb: 156 151 185;
--wizard-s-brew-oklch: oklch(0.692 0.05 291.8);
}
.element {
color: var(--wizard-s-brew);
background-color: hsl(249 20% 66%);
border-color: oklch(0.692 0.05 291.8);
}Tailwind CSS v4
@theme {
--color-wizard-s-brew: #9c97b9;
--color-wizard-s-brew-50: #f5f3ff;
--color-wizard-s-brew-100: #e8e5f7;
--color-wizard-s-brew-200: #d5d1e8;
--color-wizard-s-brew-300: #b8b3cf;
--color-wizard-s-brew-400: #9e9aba;
--color-wizard-s-brew-500: #8681a5;
--color-wizard-s-brew-600: #726d8b;
--color-wizard-s-brew-700: #5b5770;
--color-wizard-s-brew-800: #424053;
--color-wizard-s-brew-900: #2d2c3a;
--color-wizard-s-brew-950: #1a1924;
}SCSS
$wizard-s-brew: #9c97b9;
$wizard-s-brew-rgb: 156, 151, 185;
$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);
}