Nearest named color · #AF8BD7
#AF8BD7
Nearest named color: Dreamy Candy Forest
#AF8BD7 (rgb(175 139 215), hsl(268 49% 69%), oklch(0.699 0.115 305.4)) is closest to the named color Dreamy Candy Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#AF8BD7
oklch(0.699 0.115 305.4)
Color conversions
- HEX
- #af8bd7
- RGB
- rgb(175 139 215)
- HSL
- hsl(268 49% 69%)
- HWB
- hwb(268 55% 16%)
- OKLCH
- oklch(0.699 0.115 305.4)
- OKLab
- oklab(0.699 0.066 -0.094)
- CIE Lab
- lab(63.48 25.14 -34.03)
- LCH
- lch(63.48 42.31 306.5)
- CMYK
- cmyk(19% 35% 0% 16%)
Tints · Shades · Tones
Tints
- B797DB
- BFA2E0
- C6AEE4
- CEB9E8
- D6C5EC
- DED0F0
- E6DCF4
- EFE8F8
- F7F3FB
Shades
- 9878BB
- 81669F
- 6B5485
- 56436B
- 413252
- 2E233B
- 1C1425
- 0B0711
- 010102
Tones
- AA8ACE
- A589C6
- A188BD
- 9C87B4
- 9786AB
- 9285A3
- 8E849A
- 898391
- 858189
Color harmonies
Complementary +180°
- AF8BD7
Dreamy Candy Forest
- 8DAB58
≈ Chelsea Cucumber
Analogous -30° +30°
- AF8BD7
Dreamy Candy Forest
- 8A98E5
≈ Portage
- CA82BA
≈ Peruvian Lily
Triadic +120° +240°
- AF8BD7
Dreamy Candy Forest
- CF8E4B
≈ Slightly Golden
- 28B5A8
≈ Glass Jar Blue
Split-complementary +150° +210°
- AF8BD7
Dreamy Candy Forest
- B49D40
≈ Tiki Torch
- 5DB37F
≈ Jade Cream
Tetradic +90° +180° +270°
- AF8BD7
Dreamy Candy Forest
- DB836C
≈ Indian Princess
- 8DAB58
≈ Chelsea Cucumber
- 29AFCB
≈ Aquarius
Contrast & accessibility
Ag
FailOn white
WCAG 2.80:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.49:1 · APCA Lc 48
Best text color: #000000
WCAG 7.49:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--dreamy-candy-forest: #af8bd7;
--dreamy-candy-forest-rgb: 175 139 215;
--dreamy-candy-forest-oklch: oklch(0.699 0.115 305.4);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(268 49% 69%);
border-color: oklch(0.699 0.115 305.4);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #af8bd7;
--color-dreamy-candy-forest-50: #feedff;
--color-dreamy-candy-forest-100: #f2deff;
--color-dreamy-candy-forest-200: #e1c8fb;
--color-dreamy-candy-forest-300: #c7a8e6;
--color-dreamy-candy-forest-400: #af8dd5;
--color-dreamy-candy-forest-500: #9871c2;
--color-dreamy-candy-forest-600: #8160a4;
--color-dreamy-candy-forest-700: #674c84;
--color-dreamy-candy-forest-800: #4b3863;
--color-dreamy-candy-forest-900: #342645;
--color-dreamy-candy-forest-950: #1f142d;
}SCSS
$dreamy-candy-forest: #af8bd7;
$dreamy-candy-forest-rgb: 175, 139, 215;
$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);
}