Nearest named color · #B786DF
#B786DF
Nearest named color: Dreamy Candy Forest
#B786DF (rgb(183 134 223), hsl(273 58% 70%), oklch(0.701 0.136 308.6)) is closest to the named color Dreamy Candy Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#B786DF
oklch(0.701 0.136 308.6)
Color conversions
- HEX
- #b786df
- RGB
- rgb(183 134 223)
- HSL
- hsl(273 58% 70%)
- HWB
- hwb(273 53% 13%)
- OKLCH
- oklch(0.701 0.136 308.6)
- OKLab
- oklab(0.701 0.085 -0.106)
- CIE Lab
- lab(63.42 31.75 -38.47)
- LCH
- lch(63.42 49.88 309.5)
- CMYK
- cmyk(18% 40% 0% 13%)
Tints · Shades · Tones
Tints
- BE92E3
- C59EE6
- CCAAEA
- D3B7ED
- DBC3F1
- E2CFF4
- E9DBF7
- F0E7FA
- F8F3FC
Shades
- 9F74C2
- 8762A5
- 70518A
- 5A406F
- 453056
- 31213D
- 1E1327
- 0C0612
- 020102
Tones
- B186D5
- AC86CC
- A685C2
- A185B9
- 9B84AF
- 9684A6
- 90839D
- 8B8293
- 85818A
Color harmonies
Complementary +180°
- B786DF
Dreamy Candy Forest
- 85AF4C
≈ Parrot Green
Analogous -30° +30°
- B786DF
Dreamy Candy Forest
- 8D95F2
≈ Periwinkle Blue
- D57BBB
≈ Peruvian Lily
Triadic +120° +240°
- B786DF
Dreamy Candy Forest
- D58D2F
≈ Turmeric Tea
- 00B7AE
≈ Super Rare Jade
Split-complementary +150° +210°
- B786DF
Dreamy Candy Forest
- B59F22
≈ Wet Leaf
- 42B87F
≈ Ming Green
Tetradic +90° +180° +270°
- B786DF
Dreamy Candy Forest
- E57E5D
≈ Tangerine Flake
- 85AF4C
≈ Parrot Green
- 00B1D3
≈ Aquarius
Contrast & accessibility
Ag
FailOn white
WCAG 2.80:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.48:1 · APCA Lc 48
Best text color: #000000
WCAG 7.48:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--dreamy-candy-forest: #b786df;
--dreamy-candy-forest-rgb: 183 134 223;
--dreamy-candy-forest-oklch: oklch(0.701 0.136 308.6);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(273 58% 70%);
border-color: oklch(0.701 0.136 308.6);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #b786df;
--color-dreamy-candy-forest-50: #ffebff;
--color-dreamy-candy-forest-100: #f6dcff;
--color-dreamy-candy-forest-200: #e7c4ff;
--color-dreamy-candy-forest-300: #cda4eb;
--color-dreamy-candy-forest-400: #b587db;
--color-dreamy-candy-forest-500: #a06aca;
--color-dreamy-candy-forest-600: #875aaa;
--color-dreamy-candy-forest-700: #6c4889;
--color-dreamy-candy-forest-800: #4e3467;
--color-dreamy-candy-forest-900: #372448;
--color-dreamy-candy-forest-950: #21122f;
}SCSS
$dreamy-candy-forest: #b786df;
$dreamy-candy-forest-rgb: 183, 134, 223;
$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);
}