Nearest named color · #A789F4
#A789F4
Nearest named color: Perrywinkle
#A789F4 (rgb(167 137 244), hsl(257 83% 75%), oklch(0.702 0.154 295)) is closest to the named color Perrywinkle. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A789F4
oklch(0.702 0.154 295)
Color conversions
- HEX
- #a789f4
- RGB
- rgb(167 137 244)
- HSL
- hsl(257 83% 75%)
- HWB
- hwb(257 54% 4%)
- OKLCH
- oklch(0.702 0.154 295)
- OKLab
- oklab(0.702 0.065 -0.14)
- CIE Lab
- lab(63.36 29.06 -50.29)
- LCH
- lch(63.36 58.09 300)
- CMYK
- cmyk(32% 44% 0% 4%)
Tints · Shades · Tones
Tints
- AF95F6
- B7A1F8
- C0ADF9
- C8B9FB
- D1C5FC
- DAD0FD
- E3DCFE
- ECE8FE
- F6F3FF
Shades
- 9176D4
- 7B64B5
- 665397
- 52427A
- 3E315E
- 2C2244
- 1A142B
- 0A0714
- 010103
Tones
- A389E8
- 9F88DD
- 9B88D1
- 9787C6
- 9386BA
- 8F85AF
- 8B84A3
- 878397
- 84828C
Color harmonies
Complementary +180°
- A789F4
Perrywinkle
- 9DA915
≈ Jīn Sè Gold
Analogous -30° +30°
- A789F4
Perrywinkle
- 6F9BFF
≈ Blue Chaos
- CE7AD3
≈ Purple Kush
Triadic +120° +240°
- A789F4
Perrywinkle
- E6812E
≈ West Side
- 00B99A
≈ Aare River
Split-complementary +150° +210°
- A789F4
Perrywinkle
- C89600
≈ Retro Vibe
- 59B85F
≈ Forest Maid
Tetradic +90° +180° +270°
- A789F4
Perrywinkle
- F0746D
≈ Debutante
- 9DA915
≈ Jīn Sè Gold
- 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 {
--perrywinkle: #a789f4;
--perrywinkle-rgb: 167 137 244;
--perrywinkle-oklch: oklch(0.702 0.154 295);
}
.element {
color: var(--perrywinkle);
background-color: hsl(257 83% 75%);
border-color: oklch(0.702 0.154 295);
}Tailwind CSS v4
@theme {
--color-perrywinkle: #a789f4;
--color-perrywinkle-50: #f9edff;
--color-perrywinkle-100: #eddeff;
--color-perrywinkle-200: #dbc7ff;
--color-perrywinkle-300: #c0a6fd;
--color-perrywinkle-400: #a68aef;
--color-perrywinkle-500: #8f6ce0;
--color-perrywinkle-600: #795cbd;
--color-perrywinkle-700: #614a98;
--color-perrywinkle-800: #453672;
--color-perrywinkle-900: #302550;
--color-perrywinkle-950: #1c1336;
}SCSS
$perrywinkle: #a789f4;
$perrywinkle-rgb: 167, 137, 244;
$perrywinkle-light: mix(#fff, $perrywinkle, 20%);
$perrywinkle-dark: mix(#000, $perrywinkle, 20%);
.element {
color: $perrywinkle;
box-shadow: 0 0 0 2px rgba($perrywinkle, 0.35);
}