Nearest named color · #A291D2
#A291D2
Nearest named color: Dreamy Candy Forest
#A291D2 (rgb(162 145 210), hsl(256 42% 70%), oklch(0.696 0.095 295.8)) is closest to the named color Dreamy Candy Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A291D2
oklch(0.696 0.095 295.8)
Color conversions
- HEX
- #a291d2
- RGB
- rgb(162 145 210)
- HSL
- hsl(256 42% 70%)
- HWB
- hwb(256 57% 18%)
- OKLCH
- oklch(0.696 0.095 295.8)
- OKLab
- oklab(0.696 0.042 -0.086)
- CIE Lab
- lab(63.54 16.77 -31.28)
- LCH
- lch(63.54 35.49 298.2)
- CMYK
- cmyk(23% 31% 0% 18%)
Tints · Shades · Tones
Tints
- AB9CD7
- B4A7DC
- BDB2E0
- C6BCE5
- CFC7E9
- D9D2EE
- E2DDF2
- ECE9F7
- F5F4FB
Shades
- 8C7DB6
- 776A9B
- 635881
- 4F4668
- 3C3550
- 2A2539
- 191524
- 0A0710
- 010102
Tones
- 9E90CA
- 9B8EC2
- 978CB9
- 948BB1
- 9189A9
- 8D87A1
- 8A8699
- 878490
- 838288
Color harmonies
Complementary +180°
- A291D2
Dreamy Candy Forest
- 9AA55E
≈ Green Smoke
Analogous -30° +30°
- A291D2
Dreamy Candy Forest
- 819CD9
≈ Portage
- BC88BD
≈ Dragonflies
Triadic +120° +240°
- A291D2
Dreamy Candy Forest
- CB8D62
≈ Orange Pekoe
- 53B19B
≈ Water Park
Split-complementary +150° +210°
- A291D2
Dreamy Candy Forest
- B89954
≈ Base Sand
- 76AD79
≈ Abomination
Tetradic +90° +180° +270°
- A291D2
Dreamy Candy Forest
- D2867E
≈ Pink Papaya
- 9AA55E
≈ Green Smoke
- 47AEBA
≈ Thalassa
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: #a291d2;
--dreamy-candy-forest-rgb: 162 145 210;
--dreamy-candy-forest-oklch: oklch(0.696 0.095 295.8);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(256 42% 70%);
border-color: oklch(0.696 0.095 295.8);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #a291d2;
--color-dreamy-candy-forest-50: #f8f0ff;
--color-dreamy-candy-forest-100: #ebe2ff;
--color-dreamy-candy-forest-200: #d9ccf9;
--color-dreamy-candy-forest-300: #bdade3;
--color-dreamy-candy-forest-400: #a393d1;
--color-dreamy-candy-forest-500: #8c78be;
--color-dreamy-candy-forest-600: #7666a1;
--color-dreamy-candy-forest-700: #5e5281;
--color-dreamy-candy-forest-800: #443c60;
--color-dreamy-candy-forest-900: #2f2943;
--color-dreamy-candy-forest-950: #1c172c;
}SCSS
$dreamy-candy-forest: #a291d2;
$dreamy-candy-forest-rgb: 162, 145, 210;
$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);
}