Nearest named color · #A68AF1
#A68AF1
Nearest named color: Dreamy Candy Forest
#A68AF1 (rgb(166 138 241), hsl(256 79% 74%), oklch(0.702 0.149 294.8)) is closest to the named color Dreamy Candy Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A68AF1
oklch(0.702 0.149 294.8)
Color conversions
- HEX
- #a68af1
- RGB
- rgb(166 138 241)
- HSL
- hsl(256 79% 74%)
- HWB
- hwb(256 54% 5%)
- OKLCH
- oklch(0.702 0.149 294.8)
- OKLab
- oklab(0.702 0.062 -0.135)
- CIE Lab
- lab(63.37 27.64 -48.63)
- LCH
- lch(63.37 55.94 299.6)
- CMYK
- cmyk(31% 43% 0% 5%)
Tints · Shades · Tones
Tints
- AE96F3
- B7A2F5
- BFAEF7
- C8B9F9
- D1C5FA
- DAD1FC
- E3DCFD
- ECE8FE
- F5F3FF
Shades
- 9077D2
- 7A65B3
- 655395
- 514279
- 3E325D
- 2B2243
- 1A142B
- 0A0714
- 010103
Tones
- A28AE6
- 9E89DA
- 9A88CF
- 9688C4
- 9287B9
- 8E86AD
- 8B84A2
- 878397
- 83828B
Color harmonies
Complementary +180°
- A68AF1
Dreamy Candy Forest
- 9DA922
≈ Fistfull of Green
Analogous -30° +30°
- A68AF1
Dreamy Candy Forest
- 719BFB
≈ Blue Chaos
- CC7CD2
≈ Purple Kush
Triadic +120° +240°
- A68AF1
Dreamy Candy Forest
- E48236
≈ West Side
- 00B99A
≈ Aare River
Split-complementary +150° +210°
- A68AF1
Dreamy Candy Forest
- C89600
≈ Retro Vibe
- 5DB661
≈ Forest Maid
Tetradic +90° +180° +270°
- A68AF1
Dreamy Candy Forest
- ED766F
≈ Pueblo Rose
- 9DA922
≈ Fistfull of Green
- 00B4C2
≈ Lago Blue
Contrast & accessibility
Ag
FailOn white
WCAG 2.78:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.52:1 · APCA Lc 48
Best text color: #000000
WCAG 7.52:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--dreamy-candy-forest: #a68af1;
--dreamy-candy-forest-rgb: 166 138 241;
--dreamy-candy-forest-oklch: oklch(0.702 0.149 294.8);
}
.element {
color: var(--dreamy-candy-forest);
background-color: hsl(256 79% 74%);
border-color: oklch(0.702 0.149 294.8);
}Tailwind CSS v4
@theme {
--color-dreamy-candy-forest: #a68af1;
--color-dreamy-candy-forest-50: #f9edff;
--color-dreamy-candy-forest-100: #ecdeff;
--color-dreamy-candy-forest-200: #dac7ff;
--color-dreamy-candy-forest-300: #bfa7fa;
--color-dreamy-candy-forest-400: #a58bed;
--color-dreamy-candy-forest-500: #8f6edd;
--color-dreamy-candy-forest-600: #785dba;
--color-dreamy-candy-forest-700: #604b96;
--color-dreamy-candy-forest-800: #453671;
--color-dreamy-candy-forest-900: #30254f;
--color-dreamy-candy-forest-950: #1c1335;
}SCSS
$dreamy-candy-forest: #a68af1;
$dreamy-candy-forest-rgb: 166, 138, 241;
$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);
}