Nearest named color · #9E5E9C
#9E5E9C
Nearest named color: Bermuda Onion
#9E5E9C (rgb(158 94 156), hsl(302 25% 49%), oklch(0.576 0.118 328.1)) is closest to the named color Bermuda Onion. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9E5E9C
oklch(0.576 0.118 328.1)
Color conversions
- HEX
- #9e5e9c
- RGB
- rgb(158 94 156)
- HSL
- hsl(302 25% 49%)
- HWB
- hwb(302 37% 38%)
- OKLCH
- oklch(0.576 0.118 328.1)
- OKLab
- oklab(0.576 0.1 -0.062)
- CIE Lab
- lab(49.07 33.96 -22.69)
- LCH
- lch(49.07 40.84 326.3)
- CMYK
- cmyk(0% 41% 1% 38%)
Tints · Shades · Tones
Tints
- A86EA6
- B27DB0
- BC8DBA
- C69DC3
- CFADCD
- D9BDD7
- E3CDE1
- ECDEEB
- F6EEF5
Shades
- 895187
- 744473
- 60375F
- 4D2B4C
- 3A1F39
- 291428
- 180A18
- 090309
- 010001
Tones
- 9B6299
- 996697
- 966994
- 936D91
- 90708F
- 8D748C
- 8A7789
- 877A86
- 847D83
Color harmonies
Complementary +180°
- 9E5E9C
Bermuda Onion
- 418C50
≈ Medium Green
Analogous -30° +30°
- 9E5E9C
Bermuda Onion
- 8268B5
≈ Lavish Spending
- AF5979
≈ Indian Pink
Triadic +120° +240°
- 9E5E9C
Bermuda Onion
- 967400
≈ Bhūrā Brown
- 008998
≈ Atlantic Blue
Split-complementary +150° +210°
- 9E5E9C
Bermuda Onion
- 738224
≈ Pacifika
- 008D79
≈ Emerald Enchantment
Tetradic +90° +180° +270°
- 9E5E9C
Bermuda Onion
- AC6527
≈ Autumn Surprise
- 418C50
≈ Medium Green
- 1E82B6
≈ Mediterranean Blue
Contrast & accessibility
Ag
AAOn white
WCAG 4.63:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.53:1 · APCA Lc 30
Best text color: #FFFFFF
WCAG 4.63:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--bermuda-onion: #9e5e9c;
--bermuda-onion-rgb: 158 94 156;
--bermuda-onion-oklch: oklch(0.576 0.118 328.1);
}
.element {
color: var(--bermuda-onion);
background-color: hsl(302 25% 49%);
border-color: oklch(0.576 0.118 328.1);
}Tailwind CSS v4
@theme {
--color-bermuda-onion: #9e5e9c;
--color-bermuda-onion-50: #ffeaff;
--color-bermuda-onion-100: #ffdafb;
--color-bermuda-onion-200: #f2c3ec;
--color-bermuda-onion-300: #daa2d4;
--color-bermuda-onion-400: #c485c2;
--color-bermuda-onion-500: #af68ad;
--color-bermuda-onion-600: #945892;
--color-bermuda-onion-700: #774675;
--color-bermuda-onion-800: #573358;
--color-bermuda-onion-900: #3d233e;
--color-bermuda-onion-950: #261127;
}SCSS
$bermuda-onion: #9e5e9c;
$bermuda-onion-rgb: 158, 94, 156;
$bermuda-onion-light: mix(#fff, $bermuda-onion, 20%);
$bermuda-onion-dark: mix(#000, $bermuda-onion, 20%);
.element {
color: $bermuda-onion;
box-shadow: 0 0 0 2px rgba($bermuda-onion, 0.35);
}