Nearest named color · #9A97B9
#9A97B9
Nearest named color: Wizard’s Brew
#9A97B9 (rgb(154 151 185), hsl(245 20% 66%), oklch(0.691 0.05 289.1)) is closest to the named color Wizard’s Brew. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9A97B9
oklch(0.691 0.05 289.1)
Color conversions
- HEX
- #9a97b9
- RGB
- rgb(154 151 185)
- HSL
- hsl(245 20% 66%)
- HWB
- hwb(245 59% 27%)
- OKLCH
- oklch(0.691 0.05 289.1)
- OKLab
- oklab(0.691 0.016 -0.047)
- CIE Lab
- lab(63.6 6.45 -17.34)
- LCH
- lch(63.6 18.5 290.4)
- CMYK
- cmyk(17% 18% 0% 27%)
Tints · Shades · Tones
Tints
- A4A1C0
- ADABC7
- B7B5CE
- C1C0D5
- CBCADC
- D5D4E3
- E0DFEA
- EAEAF1
- F4F4F8
Shades
- 8583A0
- 716F89
- 5E5C71
- 4B495B
- 393746
- 272631
- 17171E
- 09080D
- 010102
Tones
- 9795B3
- 9592AD
- 9290A8
- 8F8EA2
- 8D8C9C
- 8A8997
- 888791
- 85858B
- 838286
Color harmonies
Complementary +180°
- 9A97B9
Wizard’s Brew
- 9D9F7B
≈ French Pear
Analogous -30° +30°
- 9A97B9
Wizard’s Brew
- 899DBB
≈ Sailing
- A992AF
≈ Knight’s Tale
Triadic +120° +240°
- 9A97B9
Wizard’s Brew
- B69381
≈ Changing Seasons
- 7EA696
≈ Verdigreen
Split-complementary +150° +210°
- 9A97B9
Wizard’s Brew
- AC9879
≈ Croque Monsieur
- 8CA386
≈ Gallery Green
Tetradic +90° +180° +270°
- 9A97B9
Wizard’s Brew
- B9908F
≈ Rosy Brown
- 9D9F7B
≈ French Pear
- 77A5A7
≈ Sightful
Contrast & accessibility
Ag
FailOn white
WCAG 2.79:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.50:1 · APCA Lc 48
Best text color: #000000
WCAG 7.50:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--wizard-s-brew: #9a97b9;
--wizard-s-brew-rgb: 154 151 185;
--wizard-s-brew-oklch: oklch(0.691 0.05 289.1);
}
.element {
color: var(--wizard-s-brew);
background-color: hsl(245 20% 66%);
border-color: oklch(0.691 0.05 289.1);
}Tailwind CSS v4
@theme {
--color-wizard-s-brew: #9a97b9;
--color-wizard-s-brew-50: #f5f3ff;
--color-wizard-s-brew-100: #e7e5f8;
--color-wizard-s-brew-200: #d4d1e8;
--color-wizard-s-brew-300: #b7b3cf;
--color-wizard-s-brew-400: #9d9abb;
--color-wizard-s-brew-500: #8581a6;
--color-wizard-s-brew-600: #706d8c;
--color-wizard-s-brew-700: #5a5770;
--color-wizard-s-brew-800: #414053;
--color-wizard-s-brew-900: #2d2c3a;
--color-wizard-s-brew-950: #1a1924;
}SCSS
$wizard-s-brew: #9a97b9;
$wizard-s-brew-rgb: 154, 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);
}