Nearest named color · #9F91D5
#9F91D5
Nearest named color: Dreamy Candy Forest
#9F91D5 (rgb(159 145 213), hsl(252 45% 70%), oklch(0.695 0.099 293.1)) is closest to the named color Dreamy Candy Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9F91D5
oklch(0.695 0.099 293.1)
Color conversions
- HEX
- #9f91d5
- RGB
- rgb(159 145 213)
- HSL
- hsl(252 45% 70%)
- HWB
- hwb(252 57% 16%)
- OKLCH
- oklch(0.695 0.099 293.1)
- OKLab
- oklab(0.695 0.039 -0.091)
- CIE Lab
- lab(63.38 16.34 -33.22)
- LCH
- lch(63.38 37.02 296.2)
- CMYK
- cmyk(25% 32% 0% 16%)
Tints · Shades · Tones
Tints
- A89CDA
- B1A7DE
- BBB2E3
- C4BCE7
- CEC7EB
- D7D2EF
- E1DEF3
- EBE9F7
- F5F4FB
Shades
- 8A7DB9
- 756A9E
- 615883
- 4D466A
- 3B3551
- 29253A
- 181524
- 090710
- 010102
Tones
- 9C90CC
- 988EC4
- 958CBB
- 928BB3
- 8F89AA
- 8C87A2
- 89869A
- 868491
- 838289
Color harmonies
Complementary +180°
- 9F91D5
Dreamy Candy Forest
- 9DA358
≈ Sweet Pea
Analogous -30° +30°
- 9F91D5
Dreamy Candy Forest
- 7C9CDB
≈ Purple Gentian
- BB88C1
≈ Creeping Bellflower
Triadic +120° +240°
- 9F91D5
Dreamy Candy Forest
- CD8B61
≈ Orange Pekoe
- 51B197
≈ Hole in One
Split-complementary +150° +210°
- 9F91D5
Dreamy Candy Forest
- BB9750
≈ Base Sand
- 77AD74
≈ Alfalfa Bug
Tetradic +90° +180° +270°
- 9F91D5
Dreamy Candy Forest
- D38480
≈ Salmon Pate
- 9DA358
≈ Sweet Pea
- 40AFB8
≈ Lake Tahoe Turquoise
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: #9f91d5;
--dreamy-candy-forest-rgb: 159 145 213;
--dreamy-candy-forest-oklch: oklch(0.695 0.099 293.1);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(252 45% 70%);
border-color: oklch(0.695 0.099 293.1);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #9f91d5;
--color-dreamy-candy-forest-50: #f7f0ff;
--color-dreamy-candy-forest-100: #eae2ff;
--color-dreamy-candy-forest-200: #d7ccfb;
--color-dreamy-candy-forest-300: #bbaee5;
--color-dreamy-candy-forest-400: #a093d4;
--color-dreamy-candy-forest-500: #8979c2;
--color-dreamy-candy-forest-600: #7466a4;
--color-dreamy-candy-forest-700: #5d5283;
--color-dreamy-candy-forest-800: #433c62;
--color-dreamy-candy-forest-900: #2e2945;
--color-dreamy-candy-forest-950: #1b172d;
}SCSS
$dreamy-candy-forest: #9f91d5;
$dreamy-candy-forest-rgb: 159, 145, 213;
$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);
}