Nearest named color · #A28EE2
#A28EE2
Nearest named color: Dreamy Candy Forest
#A28EE2 (rgb(162 142 226), hsl(254 59% 72%), oklch(0.698 0.122 293.9)) is closest to the named color Dreamy Candy Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A28EE2
oklch(0.698 0.122 293.9)
Color conversions
- HEX
- #a28ee2
- RGB
- rgb(162 142 226)
- HSL
- hsl(254 59% 72%)
- HWB
- hwb(254 56% 11%)
- OKLCH
- oklch(0.698 0.122 293.9)
- OKLab
- oklab(0.698 0.05 -0.112)
- CIE Lab
- lab(63.38 21.37 -40.4)
- LCH
- lch(63.38 45.7 297.9)
- CMYK
- cmyk(28% 37% 0% 11%)
Tints · Shades · Tones
Tints
- AB99E6
- B4A5E9
- BCB0EC
- C6BBEF
- CFC6F2
- D8D2F5
- E2DDF8
- EBE8FA
- F5F4FD
Shades
- 8C7BC4
- 7768A8
- 63568C
- 4F4471
- 3C3457
- 2A243E
- 191527
- 0A0712
- 010103
Tones
- 9E8DD8
- 9B8CCE
- 978BC5
- 9489BB
- 9088B1
- 8D87A7
- 8A859D
- 868394
- 83828A
Color harmonies
Complementary +180°
- A28EE2
Dreamy Candy Forest
- 9DA644
≈ Ogryn Camo
Analogous -30° +30°
- A28EE2
Dreamy Candy Forest
- 779CEA
≈ Feather Star
- C383C9
≈ Lavender Sweater
Triadic +120° +240°
- A28EE2
Dreamy Candy Forest
- D88750
≈ Copperhead
- 2DB698
≈ Aoife’s Green
Split-complementary +150° +210°
- A28EE2
Dreamy Candy Forest
- C19636
≈ Leisure
- 6CB16B
≈ Boring Green
Tetradic +90° +180° +270°
- A28EE2
Dreamy Candy Forest
- DF7E78
≈ Cranapple
- 9DA644
≈ Ogryn Camo
- 00B3BF
≈ Marrakech Mile
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 {
--dreamy-candy-forest: #a28ee2;
--dreamy-candy-forest-rgb: 162 142 226;
--dreamy-candy-forest-oklch: oklch(0.698 0.122 293.9);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(254 59% 72%);
border-color: oklch(0.698 0.122 293.9);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #a28ee2;
--color-dreamy-candy-forest-50: #f8efff;
--color-dreamy-candy-forest-100: #ebe0ff;
--color-dreamy-candy-forest-200: #d8caff;
--color-dreamy-candy-forest-300: #bdabef;
--color-dreamy-candy-forest-400: #a290df;
--color-dreamy-candy-forest-500: #8b74ce;
--color-dreamy-candy-forest-600: #7663ae;
--color-dreamy-candy-forest-700: #5e4f8c;
--color-dreamy-candy-forest-800: #443a69;
--color-dreamy-candy-forest-900: #2f274a;
--color-dreamy-candy-forest-950: #1b1530;
}SCSS
$dreamy-candy-forest: #a28ee2;
$dreamy-candy-forest-rgb: 162, 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);
}