Nearest named color · #A38EE2
#A38EE2
Nearest named color: Dreamy Candy Forest
#A38EE2 (rgb(163 142 226), hsl(255 59% 72%), oklch(0.699 0.122 294.5)) is closest to the named color Dreamy Candy Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A38EE2
oklch(0.699 0.122 294.5)
Color conversions
- HEX
- #a38ee2
- RGB
- rgb(163 142 226)
- HSL
- hsl(255 59% 72%)
- HWB
- hwb(255 56% 11%)
- OKLCH
- oklch(0.699 0.122 294.5)
- OKLab
- oklab(0.699 0.051 -0.111)
- CIE Lab
- lab(63.47 21.68 -40.25)
- LCH
- lch(63.47 45.72 298.3)
- CMYK
- cmyk(28% 37% 0% 11%)
Tints · Shades · Tones
Tints
- AC99E6
- B4A5E9
- BDB0EC
- C6BBEF
- CFC6F2
- D9D2F5
- E2DDF8
- ECE8FA
- F5F4FD
Shades
- 8D7BC4
- 7868A8
- 63568C
- 4F4471
- 3C3457
- 2A243E
- 191527
- 0A0712
- 010103
Tones
- 9F8DD8
- 9C8CCE
- 988BC5
- 9489BB
- 9188B1
- 8D87A7
- 8A859D
- 878394
- 83828A
Color harmonies
Complementary +180°
- A38EE2
Dreamy Candy Forest
- 9CA645
≈ Ogryn Camo
Analogous -30° +30°
- A38EE2
Dreamy Candy Forest
- 789CEA
≈ Feather Star
- C483C8
≈ Lavender Sweater
Triadic +120° +240°
- A38EE2
Dreamy Candy Forest
- D8884F
≈ Toffee Cream
- 2BB699
≈ Aare River
Split-complementary +150° +210°
- A38EE2
Dreamy Candy Forest
- C19736
≈ Leisure
- 6BB26D
≈ Pale Green
Tetradic +90° +180° +270°
- A38EE2
Dreamy Candy Forest
- E07E78
≈ Tango Pink
- 9CA645
≈ Ogryn Camo
- 00B3C0
≈ Marrakech Mile
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 {
--dreamy-candy-forest: #a38ee2;
--dreamy-candy-forest-rgb: 163 142 226;
--dreamy-candy-forest-oklch: oklch(0.699 0.122 294.5);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(255 59% 72%);
border-color: oklch(0.699 0.122 294.5);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #a38ee2;
--color-dreamy-candy-forest-50: #f8efff;
--color-dreamy-candy-forest-100: #ebe0ff;
--color-dreamy-candy-forest-200: #d9caff;
--color-dreamy-candy-forest-300: #bdabef;
--color-dreamy-candy-forest-400: #a38fdf;
--color-dreamy-candy-forest-500: #8c74ce;
--color-dreamy-candy-forest-600: #7662ae;
--color-dreamy-candy-forest-700: #5f4f8c;
--color-dreamy-candy-forest-800: #443969;
--color-dreamy-candy-forest-900: #2f274a;
--color-dreamy-candy-forest-950: #1c1530;
}SCSS
$dreamy-candy-forest: #a38ee2;
$dreamy-candy-forest-rgb: 163, 142, 226;
$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);
}