Nearest named color · #9B8EEE
#9B8EEE
Nearest named color: Perrywinkle
#9B8EEE (rgb(155 142 238), hsl(248 74% 75%), oklch(0.698 0.138 288.5)) is closest to the named color Perrywinkle. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9B8EEE
oklch(0.698 0.138 288.5)
Color conversions
- HEX
- #9b8eee
- RGB
- rgb(155 142 238)
- HSL
- hsl(248 74% 75%)
- HWB
- hwb(248 56% 7%)
- OKLCH
- oklch(0.698 0.138 288.5)
- OKLab
- oklab(0.698 0.044 -0.131)
- CIE Lab
- lab(63.23 21.63 -47.28)
- LCH
- lch(63.23 51.99 294.6)
- CMYK
- cmyk(35% 40% 0% 7%)
Tints · Shades · Tones
Tints
- A49AF0
- AEA5F3
- B7B0F5
- C1BCF7
- CBC7F9
- D5D2FA
- DFDDFC
- EAE9FD
- F4F4FE
Shades
- 867BCF
- 7268B1
- 5E5693
- 4B4477
- 39345C
- 282442
- 18152A
- 090714
- 010103
Tones
- 988DE3
- 958CD8
- 928BCD
- 8F8AC2
- 8D88B7
- 8A87AC
- 8785A1
- 858496
- 82828B
Color harmonies
Complementary +180°
- 9B8EEE
Perrywinkle
- A6A428
≈ Venom
Analogous -30° +30°
- 9B8EEE
Perrywinkle
- 669EF3
≈ Feather Star
- C280D5
≈ Purception
Triadic +120° +240°
- 9B8EEE
Perrywinkle
- E2814A
≈ Pizazz
- 0FB98E
≈ Green Velour
Split-complementary +150° +210°
- 9B8EEE
Perrywinkle
- CC921C
≈ End of Summer
- 70B25A
≈ Lost Golfer
Tetradic +90° +180° +270°
- 9B8EEE
Perrywinkle
- E7777C
≈ Passion Pink
- A6A428
≈ Venom
- 00B4B9
≈ Cyan Sky
Contrast & accessibility
Ag
FailOn white
WCAG 2.80:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.49:1 · APCA Lc 48
Best text color: #000000
WCAG 7.49:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--perrywinkle: #9b8eee;
--perrywinkle-rgb: 155 142 238;
--perrywinkle-oklch: oklch(0.698 0.138 288.5);
}
.element {
color: var(--perrywinkle);
background-color: hsl(248 74% 75%);
border-color: oklch(0.698 0.138 288.5);
}Tailwind CSS v4
@theme {
--color-perrywinkle: #9b8eee;
--color-perrywinkle-50: #f4efff;
--color-perrywinkle-100: #e7e1ff;
--color-perrywinkle-200: #d3cbff;
--color-perrywinkle-300: #b7abf9;
--color-perrywinkle-400: #9c90eb;
--color-perrywinkle-500: #8474db;
--color-perrywinkle-600: #7062b9;
--color-perrywinkle-700: #594e95;
--color-perrywinkle-800: #40396f;
--color-perrywinkle-900: #2c274e;
--color-perrywinkle-950: #191534;
}SCSS
$perrywinkle: #9b8eee;
$perrywinkle-rgb: 155, 142, 238;
$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);
}