Nearest named color · #9798BB
#9798BB
Nearest named color: Easter Egg
#9798BB (rgb(151 152 187), hsl(238 21% 66%), oklch(0.691 0.051 283.7)) is closest to the named color Easter Egg. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9798BB
oklch(0.691 0.051 283.7)
Color conversions
- HEX
- #9798bb
- RGB
- rgb(151 152 187)
- HSL
- hsl(238 21% 66%)
- HWB
- hwb(238 59% 27%)
- OKLCH
- oklch(0.691 0.051 283.7)
- OKLab
- oklab(0.691 0.012 -0.05)
- CIE Lab
- lab(63.68 5.22 -18.37)
- LCH
- lch(63.68 19.1 285.9)
- CMYK
- cmyk(19% 19% 0% 27%)
Tints · Shades · Tones
Tints
- A1A2C2
- ABACC9
- B5B6CF
- BFC0D6
- CACADD
- D4D5E4
- DFDFEB
- E9EAF1
- F4F4F8
Shades
- 8384A2
- 6F708A
- 5C5C73
- 494A5C
- 373846
- 262732
- 17171F
- 08080D
- 010102
Tones
- 9596B5
- 9293AF
- 9091A9
- 8E8EA3
- 8B8C9D
- 898A97
- 878792
- 84858C
- 828286
Color harmonies
Complementary +180°
- 9798BB
Easter Egg
- A19E79
≈ Bonsai Garden
Analogous -30° +30°
- 9798BB
Easter Egg
- 869EBB
≈ Sailing
- A793B2
≈ Gleeful Joy
Triadic +120° +240°
- 9798BB
Easter Egg
- B89282
≈ Belfry Brick
- 7FA693
≈ Verdigreen
Split-complementary +150° +210°
- 9798BB
Easter Egg
- AF9779
≈ Cookie Crumb
- 8FA383
≈ Mistletoe
Tetradic +90° +180° +270°
- 9798BB
Easter Egg
- B98F92
≈ Rose Brown
- A19E79
≈ Bonsai Garden
- 76A6A5
≈ Cresting Waves
Contrast & accessibility
Ag
FailOn white
WCAG 2.79:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.52:1 · APCA Lc 48
Best text color: #000000
WCAG 7.52:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--easter-egg: #9798bb;
--easter-egg-rgb: 151 152 187;
--easter-egg-oklch: oklch(0.691 0.051 283.7);
}
.element {
color: var(--easter-egg);
background-color: hsl(238 21% 66%);
border-color: oklch(0.691 0.051 283.7);
}Tailwind CSS v4
@theme {
--color-easter-egg: #9798bb;
--color-easter-egg-50: #f3f3ff;
--color-easter-egg-100: #e6e6f9;
--color-easter-egg-200: #d2d2ea;
--color-easter-egg-300: #b4b4d1;
--color-easter-egg-400: #9a9bbc;
--color-easter-egg-500: #8182a8;
--color-easter-egg-600: #6d6e8e;
--color-easter-egg-700: #575871;
--color-easter-egg-800: #3f4054;
--color-easter-egg-900: #2b2c3b;
--color-easter-egg-950: #191925;
}SCSS
$easter-egg: #9798bb;
$easter-egg-rgb: 151, 152, 187;
$easter-egg-light: mix(#fff, $easter-egg, 20%);
$easter-egg-dark: mix(#000, $easter-egg, 20%);
.element {
color: $easter-egg;
box-shadow: 0 0 0 2px rgba($easter-egg, 0.35);
}