Nearest named color · #A28CF2
#A28CF2
Nearest named color: Perrywinkle
#A28CF2 (rgb(162 140 242), hsl(253 80% 75%), oklch(0.702 0.147 292.1)) is closest to the named color Perrywinkle. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#A28CF2
oklch(0.702 0.147 292.1)
Color conversions
- HEX
- #a28cf2
- RGB
- rgb(162 140 242)
- HSL
- hsl(253 80% 75%)
- HWB
- hwb(253 55% 5%)
- OKLCH
- oklch(0.702 0.147 292.1)
- OKLab
- oklab(0.702 0.055 -0.136)
- CIE Lab
- lab(63.53 25.58 -48.97)
- LCH
- lch(63.53 55.25 297.6)
- CMYK
- cmyk(33% 42% 0% 5%)
Tints · Shades · Tones
Tints
- AB98F4
- B3A4F6
- BCAFF8
- C5BBF9
- CEC6FB
- D8D1FC
- E1DDFD
- EBE8FE
- F5F4FF
Shades
- 8C79D2
- 7767B4
- 635596
- 4F4379
- 3C335E
- 2A2343
- 19142B
- 0A0714
- 010103
Tones
- 9E8BE7
- 9B8BDB
- 978AD0
- 9489C4
- 9088B9
- 8D86AE
- 8985A2
- 868397
- 83828C
Color harmonies
Complementary +180°
- A28CF2
Perrywinkle
- A2A720
≈ Fistfull of Green
Analogous -30° +30°
- A28CF2
Perrywinkle
- 6C9DFA
≈ Blue Chaos
- C97ED5
≈ Purple Kush
Triadic +120° +240°
- A28CF2
Perrywinkle
- E5823D
≈ West Side
- 00BA95
≈ Aoife’s Green
Split-complementary +150° +210°
- A28CF2
Perrywinkle
- CB9400
≈ Elysium Gold
- 65B65D
≈ Boring Green
Tetradic +90° +180° +270°
- A28CF2
Perrywinkle
- EC7675
≈ Red Chalk
- A2A720
≈ Fistfull of Green
- 00B4BF
≈ Marrakech Mile
Contrast & accessibility
Ag
FailOn white
WCAG 2.77:1 · APCA Lc 53
Ag
AAAOn black
WCAG 7.56:1 · APCA Lc 48
Best text color: #000000
WCAG 7.56:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--perrywinkle: #a28cf2;
--perrywinkle-rgb: 162 140 242;
--perrywinkle-oklch: oklch(0.702 0.147 292.1);
}
.element {
color: var(--perrywinkle);
background-color: hsl(253 80% 75%);
border-color: oklch(0.702 0.147 292.1);
}Tailwind CSS v4
@theme {
--color-perrywinkle: #a28cf2;
--color-perrywinkle-50: #f7eeff;
--color-perrywinkle-100: #eadfff;
--color-perrywinkle-200: #d7c9ff;
--color-perrywinkle-300: #bca8fb;
--color-perrywinkle-400: #a18ded;
--color-perrywinkle-500: #8a70de;
--color-perrywinkle-600: #755fbb;
--color-perrywinkle-700: #5d4c96;
--color-perrywinkle-800: #433771;
--color-perrywinkle-900: #2e2650;
--color-perrywinkle-950: #1b1435;
}SCSS
$perrywinkle: #a28cf2;
$perrywinkle-rgb: 162, 140, 242;
$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);
}