Nearest named color · #A58DE2
#A58DE2
Nearest named color: Dreamy Candy Forest
#A58DE2 (rgb(165 141 226), hsl(257 59% 72%), oklch(0.698 0.124 296)) is closest to the named color Dreamy Candy Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A58DE2
oklch(0.698 0.124 296)
Color conversions
- HEX
- #a58de2
- RGB
- rgb(165 141 226)
- HSL
- hsl(257 59% 72%)
- HWB
- hwb(257 55% 11%)
- OKLCH
- oklch(0.698 0.124 296)
- OKLab
- oklab(0.698 0.054 -0.111)
- CIE Lab
- lab(63.41 22.85 -40.33)
- LCH
- lch(63.41 46.35 299.5)
- CMYK
- cmyk(27% 38% 0% 11%)
Tints · Shades · Tones
Tints
- AD98E6
- B6A4E9
- BFAFEC
- C8BBEF
- D1C6F2
- DAD1F5
- E3DDF8
- ECE8FA
- F5F4FD
Shades
- 8F7AC4
- 7967A8
- 65558C
- 514471
- 3D3357
- 2B233E
- 1A1427
- 0A0712
- 010103
Tones
- A18CD8
- 9D8BCE
- 998AC5
- 9689BB
- 9288B1
- 8E86A7
- 8B859D
- 878394
- 83828A
Color harmonies
Complementary +180°
- A58DE2
Dreamy Candy Forest
- 9AA745
≈ Science Experiment
Analogous -30° +30°
- A58DE2
Dreamy Candy Forest
- 7A9BEB
≈ Guilliman Blue
- C682C7
≈ Lavender Sweater
Triadic +120° +240°
- A58DE2
Dreamy Candy Forest
- D8884C
≈ Serape
- 22B79B
≈ Aare River
Split-complementary +150° +210°
- A58DE2
Dreamy Candy Forest
- C09833
≈ Leisure
- 67B26E
≈ Boring Green
Tetradic +90° +180° +270°
- A58DE2
Dreamy Candy Forest
- E17E75
≈ Marmalade Magic
- 9AA745
≈ Science Experiment
- 00B2C2
≈ Antigua Blue
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: #a58de2;
--dreamy-candy-forest-rgb: 165 141 226;
--dreamy-candy-forest-oklch: oklch(0.698 0.124 296);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(257 59% 72%);
border-color: oklch(0.698 0.124 296);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #a58de2;
--color-dreamy-candy-forest-50: #f9eeff;
--color-dreamy-candy-forest-100: #ece0ff;
--color-dreamy-candy-forest-200: #dac9ff;
--color-dreamy-candy-forest-300: #bfaaef;
--color-dreamy-candy-forest-400: #a58fdf;
--color-dreamy-candy-forest-500: #8e73ce;
--color-dreamy-candy-forest-600: #7861ae;
--color-dreamy-candy-forest-700: #604e8c;
--color-dreamy-candy-forest-800: #453969;
--color-dreamy-candy-forest-900: #30274a;
--color-dreamy-candy-forest-950: #1c1530;
}SCSS
$dreamy-candy-forest: #a58de2;
$dreamy-candy-forest-rgb: 165, 141, 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);
}