Nearest named color · #9E90E1
#9E90E1
Nearest named color: Perrywinkle
#9E90E1 (rgb(158 144 225), hsl(250 57% 72%), oklch(0.698 0.117 291)) is closest to the named color Perrywinkle. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9E90E1
oklch(0.698 0.117 291)
Color conversions
- HEX
- #9e90e1
- RGB
- rgb(158 144 225)
- HSL
- hsl(250 57% 72%)
- HWB
- hwb(250 56% 12%)
- OKLCH
- oklch(0.698 0.117 291)
- OKLab
- oklab(0.698 0.042 -0.11)
- CIE Lab
- lab(63.48 18.85 -39.72)
- LCH
- lch(63.48 43.96 295.4)
- CMYK
- cmyk(30% 36% 0% 12%)
Tints · Shades · Tones
Tints
- A79BE5
- B0A6E8
- BAB1EB
- C3BCEF
- CDC7F2
- D7D2F5
- E0DDF7
- EBE9FA
- F5F4FD
Shades
- 897DC4
- 746AA7
- 60578B
- 4D4570
- 3A3456
- 29243E
- 181527
- 090712
- 010102
Tones
- 9B8FD7
- 988DCE
- 948CC4
- 918ABA
- 8E89B0
- 8B87A7
- 88869D
- 868493
- 83828A
Color harmonies
Complementary +180°
- 9E90E1
Perrywinkle
- A1A446
≈ Camo Green
Analogous -30° +30°
- 9E90E1
Perrywinkle
- 739EE7
≈ Feather Star
- BF85CA
≈ Lavender Sweater
Triadic +120° +240°
- 9E90E1
Perrywinkle
- D78757
≈ Copperhead
- 3CB594
≈ Green Blue
Split-complementary +150° +210°
- 9E90E1
Perrywinkle
- C3953D
≈ Suzani Gold
- 73B06A
≈ Alfalfa Bug
Tetradic +90° +180° +270°
- 9E90E1
Perrywinkle
- DD7F7E
≈ Sea Pink
- A1A446
≈ Camo Green
- 0AB3BB
≈ Marrakech Mile
Contrast & accessibility
Ag
FailOn white
WCAG 2.78:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.53:1 · APCA Lc 48
Best text color: #000000
WCAG 7.53:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--perrywinkle: #9e90e1;
--perrywinkle-rgb: 158 144 225;
--perrywinkle-oklch: oklch(0.698 0.117 291);
}
.element {
color: var(--perrywinkle);
background-color: hsl(250 57% 72%);
border-color: oklch(0.698 0.117 291);
}Tailwind CSS v4
@theme {
--color-perrywinkle: #9e90e1;
--color-perrywinkle-50: #f6f0ff;
--color-perrywinkle-100: #e9e1ff;
--color-perrywinkle-200: #d5ccff;
--color-perrywinkle-300: #b9acef;
--color-perrywinkle-400: #9f92df;
--color-perrywinkle-500: #8776cd;
--color-perrywinkle-600: #7264ad;
--color-perrywinkle-700: #5b508b;
--color-perrywinkle-800: #413b68;
--color-perrywinkle-900: #2d2849;
--color-perrywinkle-950: #1a1630;
}SCSS
$perrywinkle: #9e90e1;
$perrywinkle-rgb: 158, 144, 225;
$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);
}