Nearest named color · #A98BE5
#A98BE5
Nearest named color: Dreamy Candy Forest
#A98BE5 (rgb(169 139 229), hsl(260 63% 72%), oklch(0.7 0.132 298.3)) is closest to the named color Dreamy Candy Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A98BE5
oklch(0.7 0.132 298.3)
Color conversions
- HEX
- #a98be5
- RGB
- rgb(169 139 229)
- HSL
- hsl(260 63% 72%)
- HWB
- hwb(260 55% 10%)
- OKLCH
- oklch(0.7 0.132 298.3)
- OKLab
- oklab(0.7 0.062 -0.116)
- CIE Lab
- lab(63.41 25.73 -41.94)
- LCH
- lch(63.41 49.2 301.5)
- CMYK
- cmyk(26% 39% 0% 10%)
Tints · Shades · Tones
Tints
- B197E8
- B9A2EB
- C2AEEE
- CABAF1
- D3C5F4
- DBD1F6
- E4DCF9
- EDE8FB
- F6F3FD
Shades
- 9278C7
- 7C66AA
- 67548E
- 534372
- 3F3258
- 2C233F
- 1B1428
- 0A0712
- 010103
Tones
- A58ADB
- A08AD1
- 9C89C7
- 9888BD
- 9487B3
- 9086A8
- 8C849E
- 888394
- 84828A
Color harmonies
Complementary +180°
- A98BE5
Dreamy Candy Forest
- 97A940
≈ Science Experiment
Analogous -30° +30°
- A98BE5
Dreamy Candy Forest
- 7C9AF0
≈ Periwinkle Blue
- CA7FC7
≈ Purple Kush
Triadic +120° +240°
- A98BE5
Dreamy Candy Forest
- DA8842
≈ Touch of Glamour
- 00B89F
≈ Aare River
Split-complementary +150° +210°
- A98BE5
Dreamy Candy Forest
- C09926
≈ Nugget Gold
- 5EB56F
≈ Lawn Party
Tetradic +90° +180° +270°
- A98BE5
Dreamy Candy Forest
- E57C6F
≈ Blooming Dahlia
- 97A940
≈ Science Experiment
- 00B2C6
≈ Antigua Blue
Contrast & accessibility
Ag
FailOn white
WCAG 2.79:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.51:1 · APCA Lc 48
Best text color: #000000
WCAG 7.51:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--dreamy-candy-forest: #a98be5;
--dreamy-candy-forest-rgb: 169 139 229;
--dreamy-candy-forest-oklch: oklch(0.7 0.132 298.3);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(260 63% 72%);
border-color: oklch(0.7 0.132 298.3);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #a98be5;
--color-dreamy-candy-forest-50: #fbedff;
--color-dreamy-candy-forest-100: #eedfff;
--color-dreamy-candy-forest-200: #ddc8ff;
--color-dreamy-candy-forest-300: #c2a8f1;
--color-dreamy-candy-forest-400: #a88ce2;
--color-dreamy-candy-forest-500: #9270d1;
--color-dreamy-candy-forest-600: #7b5fb0;
--color-dreamy-candy-forest-700: #634c8e;
--color-dreamy-candy-forest-800: #47376a;
--color-dreamy-candy-forest-900: #31264b;
--color-dreamy-candy-forest-950: #1d1431;
}SCSS
$dreamy-candy-forest: #a98be5;
$dreamy-candy-forest-rgb: 169, 139, 229;
$dreamy-candy-forest-light: mix(#fff, $dreamy-candy-forest, 20%);
$dreamy-candy-forest-dark: mix(#000, $dreamy-candy-forest, 20%);
.element {
color: $dreamy-candy-forest;
box-shadow: 0 0 0 2px rgba($dreamy-candy-forest, 0.35);
}