Nearest named color · #9F8DEB
#9F8DEB
Nearest named color: Perrywinkle
#9F8DEB (rgb(159 141 235), hsl(251 70% 74%), oklch(0.698 0.136 291.3)) is closest to the named color Perrywinkle. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9F8DEB
oklch(0.698 0.136 291.3)
Color conversions
- HEX
- #9f8deb
- RGB
- rgb(159 141 235)
- HSL
- hsl(251 70% 74%)
- HWB
- hwb(251 55% 8%)
- OKLCH
- oklch(0.698 0.136 291.3)
- OKLab
- oklab(0.698 0.049 -0.127)
- CIE Lab
- lab(63.21 22.75 -45.63)
- LCH
- lch(63.21 50.99 296.5)
- CMYK
- cmyk(32% 40% 0% 8%)
Tints · Shades · Tones
Tints
- A899EE
- B1A4F0
- BAB0F3
- C3BBF5
- CDC6F7
- D7D2F9
- E1DDFB
- EBE8FC
- F5F4FE
Shades
- 8A7ACC
- 7567AE
- 615591
- 4D4475
- 3B335B
- 292341
- 181429
- 090713
- 010103
Tones
- 9C8CE0
- 988BD6
- 958ACB
- 9289C0
- 8F88B6
- 8C86AB
- 8985A0
- 868396
- 83828B
Color harmonies
Complementary +180°
- 9F8DEB
Perrywinkle
- A1A530
≈ Mikado Green
Analogous -30° +30°
- 9F8DEB
Perrywinkle
- 6D9DF2
≈ Feather Star
- C480D0
≈ Purception
Triadic +120° +240°
- 9F8DEB
Perrywinkle
- DF8348
≈ Tree Poppy
- 04B893
≈ Aoife’s Green
Split-complementary +150° +210°
- 9F8DEB
Perrywinkle
- C8941F
≈ Tawny Olive
- 6BB260
≈ Boring Green
Tetradic +90° +180° +270°
- 9F8DEB
Perrywinkle
- E67878
≈ Lively Coral
- A1A530
≈ Mikado Green
- 00B3BC
≈ Marrakech Mile
Contrast & accessibility
Ag
FailOn white
WCAG 2.80:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.48:1 · APCA Lc 48
Best text color: #000000
WCAG 7.48:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--perrywinkle: #9f8deb;
--perrywinkle-rgb: 159 141 235;
--perrywinkle-oklch: oklch(0.698 0.136 291.3);
}
.element {
color: var(--perrywinkle);
background-color: hsl(251 70% 74%);
border-color: oklch(0.698 0.136 291.3);
}Tailwind CSS v4
@theme {
--color-perrywinkle: #9f8deb;
--color-perrywinkle-50: #f6efff;
--color-perrywinkle-100: #e9e0ff;
--color-perrywinkle-200: #d6caff;
--color-perrywinkle-300: #baaaf7;
--color-perrywinkle-400: #9f8fe8;
--color-perrywinkle-500: #8873d8;
--color-perrywinkle-600: #7361b6;
--color-perrywinkle-700: #5c4e92;
--color-perrywinkle-800: #42396e;
--color-perrywinkle-900: #2d274d;
--color-perrywinkle-950: #1a1533;
}SCSS
$perrywinkle: #9f8deb;
$perrywinkle-rgb: 159, 141, 235;
$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);
}