Nearest named color · #A692C2
#A692C2
Nearest named color: Enchanted Lilac
#A692C2 (rgb(166 146 194), hsl(265 28% 67%), oklch(0.694 0.072 303.6)) is closest to the named color Enchanted Lilac. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A692C2
oklch(0.694 0.072 303.6)
Color conversions
- HEX
- #a692c2
- RGB
- rgb(166 146 194)
- HSL
- hsl(265 28% 67%)
- HWB
- hwb(265 57% 24%)
- OKLCH
- oklch(0.694 0.072 303.6)
- OKLab
- oklab(0.694 0.04 -0.06)
- CIE Lab
- lab(63.64 14.8 -22.18)
- LCH
- lch(63.64 26.67 303.7)
- CMYK
- cmyk(14% 25% 0% 24%)
Tints · Shades · Tones
Tints
- AF9DC8
- B7A7CE
- C0B2D5
- C9BDDB
- D2C8E1
- DBD2E7
- E4DDED
- EDE9F3
- F6F4F9
Shades
- 907EA8
- 7A6B8F
- 655877
- 514660
- 3E3549
- 2B2534
- 1A1620
- 0A080E
- 010102
Tones
- A290BB
- 9E8FB5
- 9A8DAE
- 978BA7
- 9389A1
- 8F879A
- 8B8694
- 87848D
- 848287
Color harmonies
Complementary +180°
- A692C2
Enchanted Lilac
- 94A572
≈ Luscious Lime
Analogous -30° +30°
- A692C2
Enchanted Lilac
- 8E9ACA
≈ Easter Egg
- B98CB0
≈ Purple Lepidolite
Triadic +120° +240°
- A692C2
Enchanted Lilac
- BD936D
≈ Painted Pony
- 66ACA1
≈ Green Crush
Split-complementary +150° +210°
- A692C2
Enchanted Lilac
- AC9C68
≈ Whispering Grasslands
- 79AA88
≈ Green Globe
Tetradic +90° +180° +270°
- A692C2
Enchanted Lilac
- C58D7F
≈ Burnished Apricot
- 94A572
≈ Luscious Lime
- 65A9B8
≈ Summer Sea
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 {
--enchanted-lilac: #a692c2;
--enchanted-lilac-rgb: 166 146 194;
--enchanted-lilac-oklch: oklch(0.694 0.072 303.6);
}
.element {
color: var(--enchanted-lilac);
background-color: hsl(265 28% 67%);
border-color: oklch(0.694 0.072 303.6);
}Tailwind CSS v4
@theme {
--color-enchanted-lilac: #a692c2;
--color-enchanted-lilac-50: #faf0ff;
--color-enchanted-lilac-100: #eee2fc;
--color-enchanted-lilac-200: #dbcdee;
--color-enchanted-lilac-300: #c0aed6;
--color-enchanted-lilac-400: #a794c2;
--color-enchanted-lilac-500: #907aae;
--color-enchanted-lilac-600: #7a6893;
--color-enchanted-lilac-700: #625376;
--color-enchanted-lilac-800: #473c58;
--color-enchanted-lilac-900: #312a3d;
--color-enchanted-lilac-950: #1d1727;
}SCSS
$enchanted-lilac: #a692c2;
$enchanted-lilac-rgb: 166, 146, 194;
$enchanted-lilac-light: mix(#fff, $enchanted-lilac, 20%);
$enchanted-lilac-dark: mix(#000, $enchanted-lilac, 20%);
.element {
color: $enchanted-lilac;
box-shadow: 0 0 0 2px rgba($enchanted-lilac, 0.35);
}