Nearest named color · #9A97B7
#9A97B7
Nearest named color: Wizard’s Brew
#9A97B7 (rgb(154 151 183), hsl(246 18% 65%), oklch(0.69 0.047 289.4)) is closest to the named color Wizard’s Brew. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9A97B7
oklch(0.69 0.047 289.4)
Color conversions
- HEX
- #9a97b7
- RGB
- rgb(154 151 183)
- HSL
- hsl(246 18% 65%)
- HWB
- hwb(246 59% 28%)
- OKLCH
- oklch(0.69 0.047 289.4)
- OKLab
- oklab(0.69 0.016 -0.044)
- CIE Lab
- lab(63.55 6.11 -16.31)
- LCH
- lch(63.55 17.41 290.5)
- CMYK
- cmyk(16% 17% 0% 28%)
Tints · Shades · Tones
Tints
- A4A1BE
- ADABC5
- B7B5CC
- C1C0D4
- CBCADB
- D5D4E2
- E0DFE9
- EAEAF0
- F4F4F8
Shades
- 85839F
- 716F87
- 5E5C70
- 4B495A
- 393745
- 272631
- 17171E
- 09080C
- 010102
Tones
- 9795B1
- 9592AC
- 9290A6
- 8F8EA1
- 8D8C9B
- 8A8996
- 888790
- 85858B
- 838285
Color harmonies
Complementary +180°
- 9A97B7
Wizard’s Brew
- 9D9E7D
≈ Bonsai Garden
Analogous -30° +30°
- 9A97B7
Wizard’s Brew
- 8A9CB9
≈ Forever Blue
- A892AE
≈ Knight’s Tale
Triadic +120° +240°
- 9A97B7
Wizard’s Brew
- B49382
≈ Changing Seasons
- 7FA597
≈ Verdigreen
Split-complementary +150° +210°
- 9A97B7
Wizard’s Brew
- AB997B
≈ Smallmouth Bass
- 8DA387
≈ Gallery Green
Tetradic +90° +180° +270°
- 9A97B7
Wizard’s Brew
- B79090
≈ Rosy Brown
- 9D9E7D
≈ Bonsai Garden
- 79A5A6
≈ Sightful
Contrast & accessibility
Ag
FailOn white
WCAG 2.80:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.48:1 · APCA Lc 48
Best text color: #000000
WCAG 7.48:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--wizard-s-brew: #9a97b7;
--wizard-s-brew-rgb: 154 151 183;
--wizard-s-brew-oklch: oklch(0.69 0.047 289.4);
}
.element {
color: var(--wizard-s-brew);
background-color: hsl(246 18% 65%);
border-color: oklch(0.69 0.047 289.4);
}Tailwind CSS v4
@theme {
--color-wizard-s-brew: #9a97b7;
--color-wizard-s-brew-50: #f5f3ff;
--color-wizard-s-brew-100: #e8e5f7;
--color-wizard-s-brew-200: #d4d1e7;
--color-wizard-s-brew-300: #b7b4ce;
--color-wizard-s-brew-400: #9d9ab9;
--color-wizard-s-brew-500: #8581a4;
--color-wizard-s-brew-600: #706e8a;
--color-wizard-s-brew-700: #5a586f;
--color-wizard-s-brew-800: #414052;
--color-wizard-s-brew-900: #2d2c39;
--color-wizard-s-brew-950: #1a1923;
}SCSS
$wizard-s-brew: #9a97b7;
$wizard-s-brew-rgb: 154, 151, 183;
$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);
}