Nearest named color · #6666A2
#6666A2
Nearest named color: Wizard’s Potion
#6666A2 (rgb(102 102 162), hsl(240 24% 52%), oklch(0.536 0.093 282.8)) is closest to the named color Wizard’s Potion. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#6666A2
oklch(0.536 0.093 282.8)
Color conversions
- HEX
- #6666a2
- RGB
- rgb(102 102 162)
- HSL
- hsl(240 24% 52%)
- HWB
- hwb(240 40% 36%)
- OKLCH
- oklch(0.536 0.093 282.8)
- OKLab
- oklab(0.536 0.021 -0.091)
- CIE Lab
- lab(45.18 11.5 -32.8)
- LCH
- lch(45.18 34.76 289.3)
- CMYK
- cmyk(37% 37% 0% 36%)
Tints · Shades · Tones
Tints
- 7475AC
- 8283B5
- 9192BE
- 9FA1C8
- AFB0D1
- BEC0DA
- CECFE4
- DEDFED
- EEEFF6
Shades
- 58588C
- 4A4A77
- 3C3C63
- 2F2F4F
- 23233C
- 17172A
- 0C0C19
- 04040A
- 000001
Tones
- 68699F
- 6B6C9C
- 6D6E99
- 707195
- 727492
- 75768F
- 78798B
- 7A7B88
- 7D7E84
Color harmonies
Complementary +180°
- 6666A2
Wizard’s Potion
- 787027
≈ Olivetone
Analogous -30° +30°
- 6666A2
Wizard’s Potion
- 4470A2
≈ Naval
- 805D94
≈ Ghostly Purple
Triadic +120° +240°
- 6666A2
Wizard’s Potion
- 9A5A40
≈ Etruscan
- 307E5E
≈ Amazon
Split-complementary +150° +210°
- 6666A2
Wizard’s Potion
- 8E6428
≈ Tapenade
- 58793F
≈ Luck of the Irish
Tetradic +90° +180° +270°
- 6666A2
Wizard’s Potion
- 9C565E
≈ Cuban Rhythm
- 787027
≈ Olivetone
- 007E7C
≈ Parasailing
Contrast & accessibility
Ag
AAOn white
WCAG 5.26:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.98:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--wizard-s-potion: #6666a2;
--wizard-s-potion-rgb: 102 102 162;
--wizard-s-potion-oklch: oklch(0.536 0.093 282.8);
}
.element {
color: var(--wizard-s-potion);
background-color: hsl(240 24% 52%);
border-color: oklch(0.536 0.093 282.8);
}Tailwind CSS v4
@theme {
--color-wizard-s-potion: #6666a2;
--color-wizard-s-potion-50: #f2f2ff;
--color-wizard-s-potion-100: #e4e4ff;
--color-wizard-s-potion-200: #cfcffb;
--color-wizard-s-potion-300: #b2b1e6;
--color-wizard-s-potion-400: #9698d4;
--color-wizard-s-potion-500: #7d7ec2;
--color-wizard-s-potion-600: #6a6ba4;
--color-wizard-s-potion-700: #555583;
--color-wizard-s-potion-800: #3d3e62;
--color-wizard-s-potion-900: #2a2b45;
--color-wizard-s-potion-950: #17182d;
}SCSS
$wizard-s-potion: #6666a2;
$wizard-s-potion-rgb: 102, 102, 162;
$wizard-s-potion-light: mix(#fff, $wizard-s-potion, 20%);
$wizard-s-potion-dark: mix(#000, $wizard-s-potion, 20%);
.element {
color: $wizard-s-potion;
box-shadow: 0 0 0 2px rgba($wizard-s-potion, 0.35);
}